We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec53fc8 commit b1ba095Copy full SHA for b1ba095
app/i18next.server.ts
@@ -8,7 +8,7 @@ let i18next: RemixI18Next = new RemixI18Next({
8
detection: {
9
// persist language selection in cookie
10
cookie: i18nCookie,
11
- supportedLanguages: i18nextOptions.supportedLngs,
+ supportedLanguages: [...i18nextOptions.supportedLngs],
12
fallbackLanguage: i18nextOptions.fallbackLng,
13
},
14
// This is the configuration for i18next used
0 commit comments