Add new languages to config
This commit is contained in:
parent
90ae7130f6
commit
65fe42d30c
1 changed files with 24 additions and 0 deletions
|
@ -19,6 +19,10 @@ import nl from './locales/nl.json';
|
||||||
import zhHant from './locales/zh-Hant.json';
|
import zhHant from './locales/zh-Hant.json';
|
||||||
import fa from './locales/fa.json';
|
import fa from './locales/fa.json';
|
||||||
import ko from './locales/ko.json';
|
import ko from './locales/ko.json';
|
||||||
|
import ta from './locales/ta.json';
|
||||||
|
import id from './locales/id.json';
|
||||||
|
import fi from './locales/fi.json';
|
||||||
|
import hu from './locales/hu.json';
|
||||||
|
|
||||||
const resources = {
|
const resources = {
|
||||||
en: { translation: en },
|
en: { translation: en },
|
||||||
|
@ -39,6 +43,10 @@ const resources = {
|
||||||
cs: { translation: cs },
|
cs: { translation: cs },
|
||||||
nl: { translation: nl },
|
nl: { translation: nl },
|
||||||
'nb-NO': { translation: nbNO },
|
'nb-NO': { translation: nbNO },
|
||||||
|
ta: { translation: ta },
|
||||||
|
id: { translation: id },
|
||||||
|
fi: { translation: fi },
|
||||||
|
hu: { translation: hu },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const languages = [
|
export const languages = [
|
||||||
|
@ -62,6 +70,18 @@ export const languages = [
|
||||||
label: 'Français',
|
label: 'Français',
|
||||||
value: 'fr',
|
value: 'fr',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Bahasa Indonesia',
|
||||||
|
value: 'id',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Suomeksi',
|
||||||
|
value: 'fi',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Magyar',
|
||||||
|
value: 'hu',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Italiano',
|
label: 'Italiano',
|
||||||
value: 'it',
|
value: 'it',
|
||||||
|
@ -106,6 +126,10 @@ export const languages = [
|
||||||
label: 'Svenska',
|
label: 'Svenska',
|
||||||
value: 'sv',
|
value: 'sv',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Tamil',
|
||||||
|
value: 'ta',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '简体中文',
|
label: '简体中文',
|
||||||
value: 'zh-Hans',
|
value: 'zh-Hans',
|
||||||
|
|
Reference in a new issue