Add new languages
This commit is contained in:
parent
0beef2a0b7
commit
f5ec294e0c
1 changed files with 18 additions and 0 deletions
|
@ -11,6 +11,9 @@ import de from './locales/de.json';
|
||||||
import it from './locales/it.json';
|
import it from './locales/it.json';
|
||||||
import ru from './locales/ru.json';
|
import ru from './locales/ru.json';
|
||||||
import ptBr from './locales/pt-BR.json';
|
import ptBr from './locales/pt-BR.json';
|
||||||
|
import sr from './locales/sr.json';
|
||||||
|
import sv from './locales/sv.json';
|
||||||
|
import cs from './locales/cs.json';
|
||||||
|
|
||||||
const resources = {
|
const resources = {
|
||||||
en: { translation: en },
|
en: { translation: en },
|
||||||
|
@ -23,6 +26,9 @@ const resources = {
|
||||||
ja: { translation: ja },
|
ja: { translation: ja },
|
||||||
pl: { translation: pl },
|
pl: { translation: pl },
|
||||||
'zh-Hans': { translation: zhHans },
|
'zh-Hans': { translation: zhHans },
|
||||||
|
sr: { translation: sr },
|
||||||
|
sv: { translation: sv },
|
||||||
|
cs: { translation: cs },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const languages = [
|
export const languages = [
|
||||||
|
@ -30,6 +36,10 @@ export const languages = [
|
||||||
label: 'English',
|
label: 'English',
|
||||||
value: 'en',
|
value: 'en',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Čeština',
|
||||||
|
value: 'cs',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Español',
|
label: 'Español',
|
||||||
value: 'es',
|
value: 'es',
|
||||||
|
@ -62,6 +72,14 @@ export const languages = [
|
||||||
label: 'Polski',
|
label: 'Polski',
|
||||||
value: 'pl',
|
value: 'pl',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Srpski',
|
||||||
|
value: 'sr',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Svenska',
|
||||||
|
value: 'sv',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '简体中文',
|
label: '简体中文',
|
||||||
value: 'zh-Hans',
|
value: 'zh-Hans',
|
||||||
|
|
Reference in a new issue