Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Javier
committed
May 21, 2022
1 parent
1ffcb31
commit 50a1332
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Locale naming | ||
|
||
*Draft* | ||
|
||
For the naming of the locales at the user level, the following | ||
conventions will be used. | ||
|
||
Languages, and therefore the corresponding files, are named with the | ||
English name, lowercased and without spaces: `northernkurdish`. Hyphens | ||
separate other fields, like script and region: `serbian-latin`, | ||
`spanish-mexico`. They are taken from the CLDR. | ||
|
||
Wherever the CLDR doesn’t provide a name (eg, “Medieval Latin”), the | ||
pattern followed in practice for other names is applied, namely, use | ||
the ‘natural’ form in English: `medievallatin`. They should be | ||
preferably based on the description field in the | ||
[IANA](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) | ||
registry (eg, `polytonicgreek`), although some simplifications can be | ||
necessary, because some names are “too” descriptive. | ||
|
||
A few locales with a region or a script have in the CLDR a more precise | ||
name. For example, `ro-MD` is “Moldavian”. They will be normalized in | ||
`babel` in the next few releases. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters