Pārlūkot izejas kodu

fix fallback language

Ramona Plogmann 1 gadu atpakaļ
vecāks
revīzija
b82ea5728e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      client/src/i18n.js

+ 2 - 2
client/src/i18n.js

@@ -87,12 +87,12 @@ i18n
   .use(initReactI18next) // passes i18n down to react-i18next
   .init({
     resources,
-    fallbackLng: "en",
+    fallbackLng: "en_GB",
 
     keySeparator: false, // we do not use keys in form messages.welcome
 
     interpolation: {
-      escapeValue: false // react already safes from xss
+      escapeValue: false // react already saves from xss attacks
     }
   });