From cab23b10fa1d2562d99f0b883a0c591e96baca8d Mon Sep 17 00:00:00 2001
From: Jessie Keck <jessie.keck@gmail.com>
Date: Thu, 21 Feb 2019 14:48:04 -0800
Subject: [PATCH] Load german locale file.

---
 locales/de/translation.json | 4 +---
 src/i18n.js                 | 3 +++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/locales/de/translation.json b/locales/de/translation.json
index 43f71407f..448fab989 100644
--- a/locales/de/translation.json
+++ b/locales/de/translation.json
@@ -45,8 +45,6 @@
     "zoomReset": "Ansicht zurücksetzen",
     "hideZoomControls": "Zoom-Steuerung verbergen",
     "showZoomControls": "Zoom-Steuerung anzeigen",
-    "numItems": "{{number}} Elemente",
-
-
+    "numItems": "{{number}} Elemente"
   }
 }
diff --git a/src/i18n.js b/src/i18n.js
index dac6958f0..e6d0d2daa 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -1,9 +1,12 @@
 import i18n from 'i18next';
 import { reactI18nextModule } from 'react-i18next';
+import de from '../locales/de/translation.json';
 import en from '../locales/en/translation.json';
 
+
 // Load translations for each language
 const resources = {
+  de,
   en,
 };
 
-- 
GitLab