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.
|
// 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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue