[Resend PATCH] kernel32: Handle zh-Hant and zh-Hans in LocaleNameToLCID.
Alexandre Julliard
julliard at winehq.org
Thu Nov 9 09:19:21 CST 2017
Zhiyi Zhang <yi.gd.cn at 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 at winehq.org
More information about the wine-devel
mailing list