9 Nov
2017
9 Nov
'17
9:19 a.m.
Zhiyi Zhang <yi.gd.cn(a)gmail.com> writes:
Superseded patch 138395.
LocaleNameToLCID now can handle zh-Hant and zh-Hans correctly with get_default_children().get_default_children() acts as a map from a parent language to its default child language.Since zh-Hant and zh-Hans are not actual locale identifiers. All locale info of zh-Hant and zh-Hans are directly mapped to its own child language, zh-HK and zh-CN.
The LOCALE_SPARENT data is a good addition, but this could be split to a separate patch. Also you should be able to extend the existing get_default_sublang() logic instead of adding another table of defaults. -- Alexandre Julliard julliard(a)winehq.org