From f6d0ab7e7590db96ee084901812c1b260203148d Mon Sep 17 00:00:00 2001 From: Peter Cottle Date: Thu, 2 Jan 2020 15:01:53 -0800 Subject: [PATCH] Other version of PR #624 -- map header directly from browser --- src/js/stores/LocaleStore.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/stores/LocaleStore.js b/src/js/stores/LocaleStore.js index 2be9c38b..32110784 100644 --- a/src/js/stores/LocaleStore.js +++ b/src/js/stores/LocaleStore.js @@ -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)