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.
returnEmptyString: false,
fallbackLng: 'en',
interpolation: {
escapeValue: false // react already safes from xss
}