mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
add catalan language to config
This commit is contained in:
parent
cf3fd53bc1
commit
f85ce9703f
1 changed files with 6 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import { PostProcessorModule, StringMap, TOptions } from 'i18next';
|
||||||
import i18n from 'i18next';
|
import i18n from 'i18next';
|
||||||
import { initReactI18next } from 'react-i18next';
|
import { initReactI18next } from 'react-i18next';
|
||||||
|
|
||||||
|
import ca from './locales/ca.json';
|
||||||
import cs from './locales/cs.json';
|
import cs from './locales/cs.json';
|
||||||
import de from './locales/de.json';
|
import de from './locales/de.json';
|
||||||
import en from './locales/en.json';
|
import en from './locales/en.json';
|
||||||
|
|
@ -29,6 +30,7 @@ import zhHans from './locales/zh-Hans.json';
|
||||||
import zhHant from './locales/zh-Hant.json';
|
import zhHant from './locales/zh-Hant.json';
|
||||||
|
|
||||||
const resources = {
|
const resources = {
|
||||||
|
ca: { translation: ca },
|
||||||
cs: { translation: cs },
|
cs: { translation: cs },
|
||||||
de: { translation: de },
|
de: { translation: de },
|
||||||
en: { translation: en },
|
en: { translation: en },
|
||||||
|
|
@ -61,6 +63,10 @@ export const languages = [
|
||||||
label: 'English',
|
label: 'English',
|
||||||
value: 'en',
|
value: 'en',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Català',
|
||||||
|
value: 'ca',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Čeština',
|
label: 'Čeština',
|
||||||
value: 'cs',
|
value: 'cs',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue