diff options
author | Eike Rathke <erack@redhat.com> | 2018-05-24 21:23:33 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-05-24 21:25:37 +0200 |
commit | 7c0c35b468be215d6d7b450f2c621d792d201413 (patch) | |
tree | 63c44823a787f9941daffa81070e84ec17bb77f6 /i18npool | |
parent | ed22b6b75400cab3b3774f4c744cb337d35b0f10 (diff) |
Document locale data's use of the Variant element as BCP 47 language tag
Change-Id: I8d2c4bb95ae50e7d23a89db1dd6bb197d3af65c0
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/data/locale.dtd | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd index fd4a523f12c8..ed50ff8c5539 100644 --- a/i18npool/source/localedata/data/locale.dtd +++ b/i18npool/source/localedata/data/locale.dtd @@ -127,6 +127,12 @@ <!-- LangID must be a valid two or three letter language identifier defined by ISO 639. Use ISO 639-1 two letter code where available, else ISO 639-2 or 639-3 three letter code. + + If the Variant element designates a BCP 47 language tag (because the + locale is not expressable as a Language,Country pair, for example contains + a script tag) then the LangID value MUST be the code 'qlt' (reserved by + ISO 639-3 for private use) to tell the language tag processor that the + actual language tag is in the Variant element. --> <!ELEMENT Country (CountryID, DefaultName) > @@ -140,7 +146,10 @@ --> <!ELEMENT Variant (#PCDATA) > -<!-- Reserved for future use, currently unused. --> +<!-- If the LangID element contains the value 'qlt' then the Variant element + MUST contain the valid BCP 47 language tag of the locale. If LangID is + another ISO 639 code than 'qlt' then the Variant element must be empty. +--> <!-- The LC_FORMAT element contains number format codes and may actually appear |