Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

three part locales not supported #24

Open
shane-tomlinson opened this Issue · 3 comments

4 participants

@shane-tomlinson
Collaborator

Windows 8 uses zh-Hans-CN for simplified chinese. Abide only attempts a single split on "-".

Link to mozilla/persona#3044

@callahad callahad was assigned
@ozten
Collaborator

AMO's zamboni code properly handles this locale, through the use of "shorter language codes".

Example config:
https://github.com/mozilla/zamboni/blob/master/lib/settings_base.py#L133

Not explicit zh to zh-CN mapping.

In their SVN repo they have zh_CN and zh_TW, just like us
http://svn.mozilla.org/addons/trunk/site/app/locale/

lang_from_accept_header
https://github.com/mozilla/zamboni/blob/master/apps/amo/urlresolvers.py#L211

@ozten ozten referenced this issue in mozilla/persona-yahoo-bridge
Closed

Progress screen isn't responsive, tiny on mobile #129

@jrgm

actually, @ozten, if I read that right, zamboni will map zh-Hant-TW -> zh-CN, which is wrong.

@ozten
Collaborator

Agreed, but ... the original reporter of the bug said the got the right localization. So close enough? ;)

Seriously... @mathjazz - care to weigh in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.