language map fix
This commit is contained in:
parent
65709e1139
commit
68de0a8107
1 changed files with 33 additions and 35 deletions
|
@ -1,39 +1,37 @@
|
||||||
import LANGUAGES from './languages';
|
|
||||||
|
|
||||||
const SUPPORTED_BROWSER_LANGUAGES = {
|
const SUPPORTED_BROWSER_LANGUAGES = {
|
||||||
en: LANGUAGES.en[1],
|
en: 'en',
|
||||||
da: LANGUAGES.da[1],
|
da: 'da',
|
||||||
'zh-CN': LANGUAGES['zh-Hans'][1],
|
'zh-CN': 'zh-Hans',
|
||||||
'zh-TW': LANGUAGES['zh-Hant'][1],
|
'zh-TW': 'zh-Hant',
|
||||||
'zh-Hans': LANGUAGES['zh-Hans'][1],
|
'zh-Hans': 'zh-Hans',
|
||||||
'zh-Hant': LANGUAGES['zh-Hant'][1],
|
'zh-Hant': 'zh-Hant',
|
||||||
hr: LANGUAGES.hr[1],
|
hr: 'hr',
|
||||||
nl: LANGUAGES.nl[1],
|
nl: 'nl',
|
||||||
fr: LANGUAGES.fr[1],
|
fr: 'fr',
|
||||||
de: LANGUAGES.de[1],
|
de: 'de',
|
||||||
gu: LANGUAGES.gu[1],
|
gu: 'gu',
|
||||||
hi: LANGUAGES.hi[1],
|
hi: 'hi',
|
||||||
id: LANGUAGES.id[1],
|
id: 'id',
|
||||||
jv: LANGUAGES.jv[1],
|
jv: 'jv',
|
||||||
it: LANGUAGES.it[1],
|
it: 'it',
|
||||||
ms: LANGUAGES.ms[1],
|
ms: 'ms',
|
||||||
ml: LANGUAGES.ml[1],
|
ml: 'ml',
|
||||||
mr: LANGUAGES.mr[1],
|
mr: 'mr',
|
||||||
pa: LANGUAGES.pa[1],
|
pa: 'pa',
|
||||||
pl: LANGUAGES.pl[1],
|
pl: 'pl',
|
||||||
pt: LANGUAGES.pt[1],
|
pt: 'pt',
|
||||||
ro: LANGUAGES.ro[1],
|
ro: 'ro',
|
||||||
ru: LANGUAGES.ru[1],
|
ru: 'ru',
|
||||||
sr: LANGUAGES.sr[1],
|
sr: 'sr',
|
||||||
sk: LANGUAGES.sk[1],
|
sk: 'sk',
|
||||||
ur: LANGUAGES.ur[1],
|
ur: 'ur',
|
||||||
ca: LANGUAGES.ca[1],
|
ca: 'ca',
|
||||||
es: LANGUAGES.es[1],
|
es: 'es',
|
||||||
sv: LANGUAGES.sv[1],
|
sv: 'sv',
|
||||||
tr: LANGUAGES.tr[1],
|
tr: 'tr',
|
||||||
cs: LANGUAGES.cs[1],
|
cs: 'cs',
|
||||||
kn: LANGUAGES.kn[1],
|
kn: 'kn',
|
||||||
uk: LANGUAGES.uk[1],
|
uk: 'uk',
|
||||||
};
|
};
|
||||||
|
|
||||||
// Properties: language code (e.g. 'ja')
|
// Properties: language code (e.g. 'ja')
|
||||||
|
|
Loading…
Reference in a new issue