2019-10-15 17:37:55 +02:00
|
|
|
import LANGUAGES from './languages';
|
2021-04-06 21:15:08 +02:00
|
|
|
// supported_browser_languages
|
2019-10-15 17:37:55 +02:00
|
|
|
const SUPPORTED_LANGUAGES = {
|
2021-04-29 02:27:04 +02:00
|
|
|
af: LANGUAGES.af[1],
|
2019-12-06 14:20:59 +01:00
|
|
|
en: LANGUAGES.en[1],
|
2020-02-13 16:14:15 +01:00
|
|
|
da: LANGUAGES.da[1],
|
2021-01-06 19:13:56 +01:00
|
|
|
'zh-Hans': LANGUAGES['zh-Hans'][1],
|
|
|
|
'zh-Hant': LANGUAGES['zh-Hant'][1],
|
2019-12-05 22:02:19 +01:00
|
|
|
hr: LANGUAGES.hr[1],
|
|
|
|
nl: LANGUAGES.nl[1],
|
2021-02-17 08:47:08 +01:00
|
|
|
no: LANGUAGES.no[1],
|
|
|
|
fi: LANGUAGES.fi[1],
|
2019-12-05 22:02:19 +01:00
|
|
|
fr: LANGUAGES.fr[1],
|
|
|
|
de: LANGUAGES.de[1],
|
|
|
|
gu: LANGUAGES.gu[1],
|
|
|
|
hi: LANGUAGES.hi[1],
|
2022-02-18 19:40:33 +01:00
|
|
|
hu: LANGUAGES.hu[1],
|
2019-12-05 22:02:19 +01:00
|
|
|
id: LANGUAGES.id[1],
|
2021-04-29 02:27:04 +02:00
|
|
|
ja: LANGUAGES.ja[1],
|
2020-02-13 16:14:15 +01:00
|
|
|
jv: LANGUAGES.jv[1],
|
2019-12-05 22:02:19 +01:00
|
|
|
it: LANGUAGES.it[1],
|
|
|
|
ms: LANGUAGES.ms[1],
|
2019-11-19 18:28:22 +01:00
|
|
|
ml: LANGUAGES.ml[1],
|
2019-12-16 22:15:38 +01:00
|
|
|
mr: LANGUAGES.mr[1],
|
|
|
|
pa: LANGUAGES.pa[1],
|
2019-12-05 22:02:19 +01:00
|
|
|
pl: LANGUAGES.pl[1],
|
|
|
|
pt: LANGUAGES.pt[1],
|
2021-04-14 17:06:05 +02:00
|
|
|
'pt-BR': LANGUAGES['pt-BR'][1],
|
2020-02-07 20:17:23 +01:00
|
|
|
ro: LANGUAGES.ro[1],
|
2019-12-05 22:02:19 +01:00
|
|
|
ru: LANGUAGES.ru[1],
|
|
|
|
sr: LANGUAGES.sr[1],
|
|
|
|
sk: LANGUAGES.sk[1],
|
2021-04-29 02:27:04 +02:00
|
|
|
th: LANGUAGES.th[1],
|
2020-02-07 20:17:23 +01:00
|
|
|
ur: LANGUAGES.ur[1],
|
2020-06-03 22:21:22 +02:00
|
|
|
ca: LANGUAGES.ca[1],
|
2019-12-05 22:02:19 +01:00
|
|
|
es: LANGUAGES.es[1],
|
2019-12-16 22:15:38 +01:00
|
|
|
sv: LANGUAGES.sv[1],
|
2021-08-25 16:19:16 +02:00
|
|
|
tl: LANGUAGES.tl[1],
|
2019-12-06 14:20:59 +01:00
|
|
|
tr: LANGUAGES.tr[1],
|
2020-02-27 21:11:24 +01:00
|
|
|
cs: LANGUAGES.cs[1],
|
|
|
|
kn: LANGUAGES.kn[1],
|
2020-03-04 21:57:47 +01:00
|
|
|
uk: LANGUAGES.uk[1],
|
2021-04-29 02:27:04 +02:00
|
|
|
vi: LANGUAGES.vi[1],
|
2021-07-16 19:51:08 +02:00
|
|
|
ar: LANGUAGES.ar[1],
|
2019-10-15 17:37:55 +02:00
|
|
|
};
|
|
|
|
|
2020-06-10 19:03:15 +02:00
|
|
|
// Properties: language code (e.g. 'ja')
|
|
|
|
// Values: name of the language in native form (e.g. '日本語')
|
2019-10-15 17:37:55 +02:00
|
|
|
export default SUPPORTED_LANGUAGES;
|