From 51c9a4dbb2d65a456e179fe9f07f7e6f6d7426b9 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Thu, 15 Nov 2018 19:28:17 +0100 Subject: [PATCH] do not try to load i18n for en_US, use language only: en --- scm-ui/src/i18n.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scm-ui/src/i18n.js b/scm-ui/src/i18n.js index f4388bd141..b0898eaabb 100644 --- a/scm-ui/src/i18n.js +++ b/scm-ui/src/i18n.js @@ -15,11 +15,14 @@ i18n .init({ fallbackLng: "en", + // try to load only "en" and not "en_US" + load: "languageOnly", + // have a common namespace used around the full app ns: ["commons"], defaultNS: "commons", - debug: true, + debug: false, interpolation: { escapeValue: false // not needed for react!!