fix i18next-scanner overwriting existing translations

This commit is contained in:
Jon Eugster
2024-03-25 23:00:05 +01:00
parent 19d2ea363a
commit 038dbe71b8
4 changed files with 129 additions and 6 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ i18n
lng: "en", // language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
// you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage
// if you're using a language detector, do not define the lng option
returnEmptyString: false,
interpolation: {
escapeValue: false // react already safes from xss
}