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
Need to account for differences in accept-language header #157
Issue:
The changes I made last time fixed the issue for the regional accept-languages. However, it made a regression for headers without the accept-language header. While fixing the issue, I was thinking of other situations where accept-language inputs might be different. I also realized that there are weighted http headers. So that needs to be accounted for too.
Issue: The changes I made last time fixed the issue for the regional accept-languages. However, it made a regression for headers without the accept-language header. While fixing the issue, I was thinking of other situations where accept-language inputs might be different. I also realized that there are weighted http headers. So that needs to be accounted for too.
No Accept language header With a test of
Results will return:
Weighted accept-language header
will return