Merge pull request #625 from pcottle/addLocaleHeader

Other version of PR #624 -- map header directly from browser
This commit is contained in:
Peter Cottle 2020-01-02 15:06:21 -08:00 committed by GitHub
commit cefbae24b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,8 @@ var langLocaleMap = {
var headerLocaleMap = {
'zh-CN': 'zh_CN',
'zh-TW': 'zh_TW',
'pt-BR': 'pt_BR'
'pt-BR': 'pt_BR',
'es-ES': 'es_ES'
};
var supportedLocalesList = Object.values(langLocaleMap)