Doc'd country part of locale name with more than 2 characters.

This commit is contained in:
QQ喵 2020-05-02 14:49:03 -07:00 committed by Mariusz Felisiak
parent d17b380653
commit 0ebabe325d
1 changed files with 4 additions and 3 deletions

View File

@ -66,9 +66,10 @@ Here are some other terms that will help us to handle a common language:
locale name locale name
A locale name, either a language specification of the form ``ll`` or a A locale name, either a language specification of the form ``ll`` or a
combined language and country specification of the form ``ll_CC``. combined language and country specification of the form ``ll_CC``.
Examples: ``it``, ``de_AT``, ``es``, ``pt_BR``. The language part is Examples: ``it``, ``de_AT``, ``es``, ``pt_BR``, ``sr_Latn``. The language
always in lowercase and the country part in upper case. The separator is part is always in lowercase. The country part is in titlecase if it has
an underscore. more than 2 characters, otherwise it's in uppercase. The separator is an
underscore.
language code language code
Represents the name of a language. Browsers send the names of the Represents the name of a language. Browsers send the names of the