0
0
mirror of https://github.com/django/django.git synced 2024-11-28 10:48:32 +01:00

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

View File

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