Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

locales should inherit from defined parent locales when available #34

Closed
patch opened this issue Mar 24, 2014 · 0 comments
Closed

locales should inherit from defined parent locales when available #34

patch opened this issue Mar 24, 2014 · 0 comments

Comments

@patch
Copy link
Owner

patch commented Mar 24, 2014

Right now, the inheritance works like zh-Hant-MOzh-Hantzhroot, but Part 1 Core §4.1.1 Parent Locales defines exceptions in the LDML for different parents.

For example:

 <parentLocale parent="zh_Hant_HK" locales="zh-Hant-MO"/>

This would modify the inheritance to zh-Hant-MOzh-Hant-HKzh-Hantzhroot.

Others are defined with a parent of root to skip normal steps altogether. The most notable problem with the current inheritance is that es-US (US Spanish), es-MX (Mexican Spanish), es-CR (Costa Rican Spanish), etc., inherit directly from es (European Spanish) instead of es-419 (Latin American Spanish).

@patch patch added bug labels Mar 24, 2014
@patch patch changed the title locales should inherent from defined parent locales when available locales should inherit from defined parent locales when available Mar 26, 2014
@patch patch closed this as completed in 6e6e55f Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant