[Libreoffice-commits] core.git: i18npool/source
Eike Rathke
erack at redhat.com
Thu May 24 19:26:07 UTC 2018
i18npool/source/localedata/data/locale.dtd | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
New commits:
commit 7c0c35b468be215d6d7b450f2c621d792d201413
Author: Eike Rathke <erack at redhat.com>
Date: Thu May 24 21:23:33 2018 +0200
Document locale data's use of the Variant element as BCP 47 language tag
Change-Id: I8d2c4bb95ae50e7d23a89db1dd6bb197d3af65c0
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
More information about the Libreoffice-commits
mailing list