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'],
|
// ns: ['client'],
|
||||||
resources: {},
|
resources: {},
|
||||||
|
keySeparator: false,
|
||||||
|
nsSeparator: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
i18n.on('languageChanged', (lng) => {
|
i18n.on('languageChanged', (lng) => {
|
||||||
|
@ -13,6 +13,8 @@ export function createI18n(options: ApplicationOptions) {
|
|||||||
instance.init({
|
instance.init({
|
||||||
lng: 'en-US',
|
lng: 'en-US',
|
||||||
resources: {},
|
resources: {},
|
||||||
|
keySeparator: false,
|
||||||
|
nsSeparator: false,
|
||||||
...options.i18n,
|
...options.i18n,
|
||||||
});
|
});
|
||||||
return instance;
|
return instance;
|
||||||
|
Loading…
Reference in New Issue
Block a user