do not try to load i18n for en_US, use language only: en

This commit is contained in:
Sebastian Sdorra
2018-11-15 19:28:17 +01:00
parent 60f7d93ad4
commit 51c9a4dbb2

View File

@@ -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!!