feat(lang): add Czech and Danish display languages (#2176)

pull/2177/head^2
TheCatLady 3 years ago committed by GitHub
parent 82d5d18ee7
commit 8d8db6cf5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,6 +2,8 @@ import React, { ReactNode } from 'react';
export type AvailableLocale =
| 'ca'
| 'cs'
| 'da'
| 'de'
| 'en'
| 'el'
@ -30,6 +32,14 @@ export const availableLanguages: AvailableLanguageObject = {
code: 'ca',
display: 'Català',
},
cs: {
code: 'cs',
display: 'Čeština',
},
da: {
code: 'da',
display: 'Dansk',
},
de: {
code: 'de',
display: 'Deutsch',

@ -25,6 +25,10 @@ const loadLocaleData = (locale: AvailableLocale): Promise<any> => {
switch (locale) {
case 'ca':
return import('../i18n/locale/ca.json');
case 'cs':
return import('../i18n/locale/cs.json');
case 'da':
return import('../i18n/locale/da.json');
case 'de':
return import('../i18n/locale/de.json');
case 'el':

Loading…
Cancel
Save