-
Couldn't load subscription status.
- Fork 71
Open
Labels
i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.implemented: safariImplemented in SafariImplemented in Safarineeds-triage: chromeChrome needs to assess this issue for the first timeChrome needs to assess this issue for the first timeneutral: firefoxNot opposed or supportive from FirefoxNot opposed or supportive from Firefoxtopic: localization
Description
Locale Format
Locale identifier consists of language subtag, script subtag, region subtag, and one or more variant subtags.
For example,
zh-CNandzh-TWare language + region. They mean Chinese in different regions.zh-Hansandzh-Hantare language + script. They mean Simplified Chinese and Traditional Chinese without regions.zh-Hans-CN,zh-Hans-SG,zh-Hant-HKandzh-Hant-TWare language + script + region. They mean Simplified Chinese and Traditional Chinese in different regions.
For historical reasons, zh-CN and zh-TW are often used to represent Simplified Chinese and Traditional Chinese, but this is not rigorous or accurate.
The current level of support
- Chrome: support a list of locales, i.e. language + region only.
- It does not support script and script+region.
- It doesn't support all languages (e.g. some minority languages) and all regions (e.g. Hongkong).
- Firefox: similar to Chrome.
- Safari: after a recent change, support script and script + region.
Goal
All browsers support all valid locales, including:
- language + region
- language + script
- language + script + region
Note: The languages supported by the browser and the languages supported by the extension store should be two different things, but there is some correlation.
Other discussions
- Proposal: Per-extension language preferences #641 We also talked about support for locales, and what locales the
setCurrentLanguage()allows to be passed in. i18n.getMessage()language fallback paths #296 @birtles and @xeenon discussed this issue. And related links: zh_hans locale not working birchill/10ten-ja-reader#2051 https://issues.chromium.org/issues/375528194- Support for Hong Kong in the i18n settings
carlosjeurissen and xeenon
Metadata
Metadata
Assignees
Labels
i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.implemented: safariImplemented in SafariImplemented in Safarineeds-triage: chromeChrome needs to assess this issue for the first timeChrome needs to assess this issue for the first timeneutral: firefoxNot opposed or supportive from FirefoxNot opposed or supportive from Firefoxtopic: localization