feat: fallback to english rather than showing translation key
This commit is contained in:
parent
5c56370920
commit
a4fe21927d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue