strongloop / strong-globalize

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.
Other
25 stars 16 forks source link

No case handling for language aliases #160

Closed codechennerator closed 4 years ago

codechennerator commented 4 years ago

There's no case handling for language aliases. So if zh-TW is passed instead of zh-tw, the language alias is not applied. https://github.com/strongloop/strong-globalize/blob/master/packages/runtime/src/helper.ts#L969

agnes512 commented 4 years ago

fixes in https://github.com/strongloop/strong-globalize/pull/161

agnes512 commented 4 years ago

closing as done