mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
commit
9e61ec2758
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ const resources = Object.fromEntries(
|
||||||
Object.entries(locales).map((entry) => [entry[0], { translation: entry[1] }]),
|
Object.entries(locales).map((entry) => [entry[0], { translation: entry[1] }]),
|
||||||
);
|
);
|
||||||
i18n.use(initReactI18next).init({
|
i18n.use(initReactI18next).init({
|
||||||
fallbackLng: "en-US",
|
fallbackLng: "en",
|
||||||
resources,
|
resources,
|
||||||
interpolation: {
|
interpolation: {
|
||||||
escapeValue: false, // not needed for react as it escapes by default
|
escapeValue: false, // not needed for react as it escapes by default
|
||||||
|
|
Loading…
Reference in a new issue