Adding a new locale to CLDR

NOTE: this is an internal page for TC developers. Others should see Core Data for New Locales.

Regional locales

If you are just adding a new region locale (that is, CLDR already has a locale for the language), you just need to add the new empty locale file, and Update Survey Tool. This example adds Kurdish in Syria (“ku-SY”).

Otherwise:

New locales

Before adding a new locale, you must have the minimal core data that cannot be added through the Survey Tool. See Core Data for New Locales for the process. This will include:

The English name won’t be used until the language reaches Basic level, but needs to be documented in the CLDR ticket which adds the locale.

Add Data to the GitHub repository

Verify or update country/population/language/script Data

See Update Language Script Info and LikelySubtags and Default Content for information on how to use the language, script, region and population data to verify that the information in country_language_population.tsv and language_script.tsv is correct. If changes are needed, correct an existing entry or add a new one as appropriate. Include references.

When the CLDR tools are run, they will use the entries in these .tsv files to generate updates to the supplemental data. If necessary, in order to make the required tests pass when adding a locale, you can make temporary changes in the generated supplemental data to reflect what will eventually be generated. Here is a list of such changes that may be needed:

Create the new locale files

Supply metadata

Optional additions

Submit the pull request