mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
add catalan language to config
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user