Common Locale Data Repository
The Common Locale Data Repository ( CLDR short ) is a project of the Unicode consortium to locale information for application programs to provide and thus supports the internationalization and localization. The data are available (Locale Data Markup Language) in XML language LDML.
History
Originally, the CLDR was developed by a working group of the Free Standards Group, which was founded by IBM, Sun Microsystems and OpenOffice.org. The first version was released in early 2004. Then the team headed by the Unicode Consortium was continued. New versions with extended and improved data are normally published twice a year, currently is since September 2013, the version 24
Data
The data are available in the language LDML (Locale Data Markup Language) as XML files.
As an example of the format, the following little snippet from one of the files used for German:
The values for a locale can be passed on to sub - locales, so the data does not need to be duplicated unnecessarily. Only few data corresponding to de-CH, ie Swiss German, led, the largest part is taken over by de, ie standard German. Starting point for inheritance is for all locales root for the English word for " root ".
The project includes the following data:
- Translations for languages
- Writing Systems
- Countries
- Names of calendars
- Formats for time points and time intervals
- Names of time zones
- Characters for thousands separator, decimal separator, sign and more
- Different number formats
- Rules for the representation of numbers in words
- Names and symbols for currencies
- Plural rules
The data are available for 740 locales that include over 200 different languages , for many but not completely.
Use
To use the data from the CLDR are available for all common programming libraries, including those of the ICU project.
CLDR is used in numerous software products, Apple uses it, for example in its operating systems Mac OS X and iOS, Google Inc. in its Web applications and the browser Google Chrome.
CLDR also includes conversion tools to obtain from the data POSIX locales.