File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
Validates that a value is a valid locale.
5
5
6
- The "value" for each locale is any of `ICU format locale IDs `_. For example, the
7
- two letter `ISO 639-1 `_ *language * code (e.g. ``fr ``), or the language code
6
+ The "value" for each locale is any of the `ICU format locale IDs `_. For example,
7
+ the two letter `ISO 639-1 `_ *language * code (e.g. ``fr ``), or the language code
8
8
followed by an underscore (``_ ``) and the `ISO 3166-1 alpha-2 `_ *country * code
9
9
(e.g. ``fr_FR `` for French/France).
10
10
@@ -112,4 +112,3 @@ the validity of the given locale (e.g. ``FR-fr.utf8`` is transformed into ``fr_F
112
112
.. _`ICU format locale IDs` : http://userguide.icu-project.org/locale
113
113
.. _`ISO 639-1` : https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
114
114
.. _`ISO 3166-1 alpha-2` : https://en.wikipedia.org/wiki/ISO_3166-1#Current_codes
115
- .. _`ICU format locale IDs` : http://userguide.icu-project.org/locale#TOC-Canonicalization
You can’t perform that action at this time.
0 commit comments