fix(web): update locales (#3934)

pull/3936/head
James Elliott 2022-09-01 08:32:37 +10:00 committed by GitHub
parent 305619f324
commit c2657416a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -20,11 +20,21 @@ i18n.use(Backend)
}, },
ns: ["portal"], ns: ["portal"],
defaultNS: "portal", defaultNS: "portal",
load: "all",
fallbackLng: { fallbackLng: {
default: ["en"], default: ["en"],
de: ["en"],
es: ["en"],
fr: ["en"],
"nl-NL": ["en"],
"pt-PT": ["en"],
ru: ["en"],
sv: ["en"],
"sv-SE": ["sv", "en"],
"zh-CN": ["en"],
"zh-TW": ["en"],
}, },
load: "all", supportedLngs: ["en", "de", "es", "fr", "nl-NL", "pt-PT", "ru", "sv", "sv-SE", "zh-CN", "zh-TW"],
supportedLngs: ["en", "de", "es", "fr", "ru", "sv", "zh-TW"],
lowerCaseLng: false, lowerCaseLng: false,
nonExplicitSupportedLngs: true, nonExplicitSupportedLngs: true,
interpolation: { interpolation: {