![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
The cldr-core npm package provides the core data from the Unicode Common Locale Data Repository (CLDR). This data includes locale-specific information such as date and time formats, number formats, and language translations. It is used to internationalize applications by providing locale-specific data.
Date and Time Formatting
This feature allows you to access locale-specific date and time formats. The code sample demonstrates how to retrieve the first day of the week for different locales.
const cldrData = require('cldr-core');
const dateFormats = cldrData.supplemental.weekData.firstDay();
console.log(dateFormats);
Number Formatting
This feature provides locale-specific number formatting information. The code sample shows how to access number formatting data for the English locale.
const cldrData = require('cldr-core');
const numberFormats = cldrData.main['en/numbers'];
console.log(numberFormats);
Language Translations
This feature offers translations for various languages. The code sample demonstrates how to retrieve language names in English.
const cldrData = require('cldr-core');
const languageNames = cldrData.main['en/languages'];
console.log(languageNames);
Globalize is a library for internationalization and localization that leverages CLDR data. It provides a higher-level API compared to cldr-core, making it easier to format dates, numbers, and currencies, and to handle translations.
i18next is a powerful internationalization framework for JavaScript that supports translation, formatting, and pluralization. While it does not directly use CLDR data, it offers a comprehensive set of features for managing translations and locale-specific data.
Moment.js is a popular library for parsing, validating, manipulating, and formatting dates. It provides extensive support for internationalization through the moment-timezone and moment-locale packages, although it does not use CLDR data directly.
Basic CLDR supplemental data
This is part of the JSON distribution of CLDR locale data for internationalization
For full details, please see https://github.com/unicode-org/cldr-json
CLDR does not use Github's issue tracking system to track bugs. If you find an error in the data contained here, please file a new ticket at Unicode Jira
Copyright © 1991-2024 Unicode, Inc. Terms of Use
SPDX-License-Identifier: Unicode-3.0
A copy of the license is included as LICENSE.
FAQs
Basic CLDR supplemental data
We found that cldr-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.