summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQQ喵 <gqqnb2005@gmail.com>2020-05-02 14:49:03 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-04 20:50:18 +0200
commit0ebabe325dca15d4bde6c2898d610f8160e59162 (patch)
tree13ffe935e4c898a9ec4115f0d7eac2eb9e6f05eb
parentd17b380653da5f95885ce53468fe7aac60672841 (diff)
Doc'd country part of locale name with more than 2 characters.
-rw-r--r--docs/topics/i18n/index.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/topics/i18n/index.txt b/docs/topics/i18n/index.txt
index a85d309bfc..0cd86c7e72 100644
--- a/docs/topics/i18n/index.txt
+++ b/docs/topics/i18n/index.txt
@@ -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