mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 01:35:08 +01:00
commit
9e61ec2758
@ -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 New Issue
Block a user