fix(i18n): set key and ns separator default to false (#1432)
This commit is contained in:
parent
debd95894f
commit
88c35a086a
@ -28,6 +28,8 @@ i18n
|
||||
// },
|
||||
// ns: ['client'],
|
||||
resources: {},
|
||||
keySeparator: false,
|
||||
nsSeparator: false,
|
||||
});
|
||||
|
||||
i18n.on('languageChanged', (lng) => {
|
||||
|
@ -13,6 +13,8 @@ export function createI18n(options: ApplicationOptions) {
|
||||
instance.init({
|
||||
lng: 'en-US',
|
||||
resources: {},
|
||||
keySeparator: false,
|
||||
nsSeparator: false,
|
||||
...options.i18n,
|
||||
});
|
||||
return instance;
|
||||
|
Loading…
Reference in New Issue
Block a user