mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 17:24:00 +01:00
Fix nb-NO translation
This commit is contained in:
parent
a6ebfc527f
commit
a0995c6f80
|
@ -4,14 +4,16 @@ import { initReactI18next } from 'react-i18next';
|
|||
import Backend from 'i18next-http-backend';
|
||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
|
||||
export const i18nLanguages = ['da', 'en', 'nb-NO', 'zh-CN', 'zh-HK', 'zh-TW'];
|
||||
export const i18nLanguages = ['da', 'en', 'nb', 'zh-CN', 'zh-HK', 'zh-TW'];
|
||||
|
||||
i18n
|
||||
.use(Backend)
|
||||
.use(LanguageDetector)
|
||||
.use(initReactI18next)
|
||||
.init({
|
||||
fallbackLng: 'en',
|
||||
fallbackLng: {
|
||||
default: ['en'],
|
||||
},
|
||||
ns: ['main', 'api', 'about', 'model'],
|
||||
defaultNS: 'main',
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue