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.
The issue #150 is describing a problem when using g.http() function. Can you please add a test to verify the problem reported in that issue is solved by your changes?
support feature in https://github.com/strongloop/strong-globalize/issues/150
If a request.header has accept-language of zh-cn or zh-tw, strong-globalize should equivocate that to zh-Hans and zh-Hant respectively.
The change is applied to
http()
,setLanguage()
andsetDefaultLanguage
.