Add new languages

This commit is contained in:
jeffvli 2023-11-18 01:32:59 -08:00
parent 0beef2a0b7
commit f5ec294e0c

View File

@ -11,6 +11,9 @@ import de from './locales/de.json';
import it from './locales/it.json';
import ru from './locales/ru.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 = {
en: { translation: en },
@ -23,6 +26,9 @@ const resources = {
ja: { translation: ja },
pl: { translation: pl },
'zh-Hans': { translation: zhHans },
sr: { translation: sr },
sv: { translation: sv },
cs: { translation: cs },
};
export const languages = [
@ -30,6 +36,10 @@ export const languages = [
label: 'English',
value: 'en',
},
{
label: 'Čeština',
value: 'cs',
},
{
label: 'Español',
value: 'es',
@ -62,6 +72,14 @@ export const languages = [
label: 'Polski',
value: 'pl',
},
{
label: 'Srpski',
value: 'sr',
},
{
label: 'Svenska',
value: 'sv',
},
{
label: '简体中文',
value: 'zh-Hans',