https://bugs.documentfoundation.org/show_bug.cgi?id=151359

--- Comment #13 from Eike Rathke <[email protected]> ---
(In reply to Caolán McNamara from comment #11)
> if we're not using this field for anything, perhaps we can just remove it
> entirely

The field needs to be present (or we change the DTD), but we could use
<DefaultName>you know what</DefaultName>

So far I always regarded it as a kind of comment that is preserved by all XML
processing.. maybe making it optional and just removing it in zh_TW.xml would
indeed be best.


(In reply to Kevin Suo from comment #8)
> Another solution for this would be renaming the tag to the following for all
> locales:
>     <CountryOrRegion>
>       <CountryOrRegionID>TW</CountryOrRegionID>
>       <DefaultName>Taiwan</DefaultName>
>     </CountryOrRegionID>
No, because it is not a region ID, it is solely the ISO 3166-1 alpha-2 country
code. Everything else per convention goes into the qlt local-use language tag
in the Language field with its full BCP 47 tag in the Variant field.


> Or, simply the following per BCP 47:
>     <Region>
>       <RegionID>TW</RegionID>
>       <DefaultName>Taiwan</DefaultName>
>     </RegionID>
Similar no.

> Per RFC 5646 BCP 47, for "zh-TW", the tag "zh" is language and the tag "TW"
> is region. “Region subtags are used to indicate linguistic variations
> associated with or appropriate to a specific country, territory, or
> region.”, see https://www.rfc-editor.org/rfc/rfc5646.html#section-2.2.4.
And that encompasses much more than ISO 3166-1 alpha-2 country codes, to which
the field needs to be restricted for Java compatibility if the LC_INFO
element's IDs are stuffed into a css:lang::Locale.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to