mirror of
https://github.com/tooot-app/app
synced 2025-06-01 11:49:13 +02:00
Added German language
This commit is contained in:
parent
d958d85df3
commit
7d1a8c5148
17
src/i18n/de/_all.ts
Normal file
17
src/i18n/de/_all.ts
Normal file
@ -0,0 +1,17 @@
|
||||
export default {
|
||||
common: require('./common'),
|
||||
|
||||
screens: require('./screens'),
|
||||
screenActions: require('./screens/actions'),
|
||||
screenAnnouncements: require('./screens/announcements'),
|
||||
screenCompose: require('./screens/compose'),
|
||||
screenImageViewer: require('./screens/imageViewer'),
|
||||
screenTabs: require('./screens/tabs'),
|
||||
|
||||
componentEmojis: require('./components/emojis'),
|
||||
componentInstance: require('./components/instance'),
|
||||
componentMediaSelector: require('./components/mediaSelector'),
|
||||
componentParse: require('./components/parse'),
|
||||
componentRelationship: require('./components/relationship'),
|
||||
componentTimeline: require('./components/timeline')
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
import i18n from 'i18next'
|
||||
import { initReactI18next } from 'react-i18next'
|
||||
|
||||
import de from '@root/i18n/de/_all'
|
||||
import en from '@root/i18n/en/_all'
|
||||
import ko from '@root/i18n/ko/_all'
|
||||
import vi from '@root/i18n/vi/_all'
|
||||
@ -13,7 +14,8 @@ i18n.use(initReactI18next).init({
|
||||
ns: ['common'],
|
||||
defaultNS: 'common',
|
||||
|
||||
resources: { 'zh-Hans': zh_Hans, vi, ko, en },
|
||||
resources: { 'zh-Hans': zh_Hans, vi, ko, en, de },
|
||||
returnEmptyString: false,
|
||||
|
||||
saveMissing: true,
|
||||
missingKeyHandler: (ns, key) => {
|
||||
|
@ -1,4 +1,5 @@
|
||||
const LOCALES = {
|
||||
de: 'Deutsch',
|
||||
en: 'English',
|
||||
ko: '한국어',
|
||||
vi: 'Tiếng Việt',
|
||||
|
Loading…
x
Reference in New Issue
Block a user