Other version of PR #624 -- map header directly from browser

This commit is contained in:
Peter Cottle 2020-01-02 15:01:53 -08:00
parent 3a54cc8efc
commit f6d0ab7e75

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)