feat: fallback to english rather than showing translation key

This commit is contained in:
Tom French 2022-08-30 11:14:00 +01:00
parent 5c56370920
commit a4fe21927d

View file

@ -23,6 +23,8 @@ i18n
// We enforce that a locales have all keys so we treat empty string as missing value. // We enforce that a locales have all keys so we treat empty string as missing value.
returnEmptyString: false, returnEmptyString: false,
fallbackLng: 'en',
interpolation: { interpolation: {
escapeValue: false // react already safes from xss escapeValue: false // react already safes from xss
} }