mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-25 17:11:51 +01:00
Fix language fallback
This commit is contained in:
parent
1d8d555578
commit
ca4437f86a
@ -10,7 +10,7 @@ const resources = Object.fromEntries(
|
||||
Object.entries(locales).map((entry) => [entry[0], { translation: entry[1] }]),
|
||||
);
|
||||
i18n.use(initReactI18next).init({
|
||||
fallbackLng: "en-US",
|
||||
fallbackLng: "en",
|
||||
resources,
|
||||
interpolation: {
|
||||
escapeValue: false, // not needed for react as it escapes by default
|
||||
|
Loading…
Reference in New Issue
Block a user