Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add german language #169

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/i18n.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import i18n from 'i18n-js';

import English from '../translations/en.json';
import Deutsch from '../translations/de.json';
import Hindi from '../translations/hi.json';
import Nepali from '../translations/ne.json';
import Bengali from '../translations/be.json';
Expand All @@ -18,6 +19,7 @@ i18n.locale = null;
i18n.fallbacks = true;
i18n.translations = {
English,
Deutsch,
Hindi,
Nepali,
Bengali,
Expand Down
1 change: 1 addition & 0 deletions src/screens/ProfileScreen/LanguageScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const languages = [
'Assamese',
'Bengali',
'English',
'German',
'Gujarati',
'Hindi',
'Kannada',
Expand Down
26 changes: 26 additions & 0 deletions translations/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"ovuli": "Ovuli",
"please_select_your_language": "Bitte wähle Deine Sprache",
"how_can_we_call_you": "Wie dürfen wir Dich nennen?",
"please_enter_your_name": "Bitte gebe Deinen Namen ein",
"how_long_is_your_cycle": "Wie lange dauert Dein Zyklus?",
"when_was_your_last_period": "Wann war Deine letzte Periode?",
"do_you_know_your_cycle_length": "Kennst Du Deine Zykluslänge",
"yes": "Ja",
"no": "Nein",
"when_was_your_second_last_period": "Wann war Deine vorletzte Periode?",
"when_was_your_third_last_period": "Wann war Deine drittletzte Periode?",
"continue": "Weiter",
"history": "Verlauf",
"home": "Start",
"settings": "Einstellungen",
"language": "Sprache",
"cycle_length": "Zyklusdauer",
"last_period": "Letzte Periode",
"alert": "Alarm",
"please_enter_your_Name_to_proceed": "Bitte gebe zuerst Deinen Namen ein",
"ok": "OK",
"finish": "Fertig",
"reset": "Zurücksetzen",
"profile": "Profil"
}