strong-globalize is built on Unicode CLDR and jquery/globalize and implements automatic extraction of strings from JS source code and HTML templates, lint the string resource, machine-translate them in seconds. In runtime, it loads locale and string resource into memory and provides a hook to persistent logging.
Chrome has an accept-language header for Chinese languages as zh-TW and zh-CN by default. Other browsers may have something similar.
Thus it is necessary that when there is a need for language aliases, the language code is standardized. The current getLanguageAlias does not handle that case!
Chrome has an accept-language header for Chinese languages as zh-TW and zh-CN by default. Other browsers may have something similar. Thus it is necessary that when there is a need for language aliases, the language code is standardized. The current getLanguageAlias does not handle that case!