mirror of
https://github.com/gosticks/web.git
synced 2026-08-12 20:20:25 +00:00
Ensure compatibility with new language structure
Signed-off-by: Richard Denton <isdampe@gmail.com>
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ export function setupI18n(ajax?: any) {
|
||||
.use(initReactI18next)
|
||||
.init({
|
||||
fallbackLng: "en",
|
||||
whitelist: languages,
|
||||
whitelist: languages.map(lang => lang.code),
|
||||
ns: ["common"],
|
||||
defaultNS: "common",
|
||||
fallbackNS: [
|
||||
|
||||
Reference in New Issue
Block a user