Specify keySeparator
This commit is contained in:
1
src/@types/i18next.d.ts
vendored
1
src/@types/i18next.d.ts
vendored
@@ -21,6 +21,7 @@ import app from "../../public/locales/en-GB/app.json";
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
defaultNS: "app";
|
||||
keySeparator: ".";
|
||||
resources: {
|
||||
app: typeof app;
|
||||
};
|
||||
|
||||
@@ -72,7 +72,7 @@ export class Initializer {
|
||||
.init({
|
||||
fallbackLng: "en-GB",
|
||||
defaultNS: "app",
|
||||
keySeparator: false,
|
||||
keySeparator: ".",
|
||||
nsSeparator: false,
|
||||
pluralSeparator: "_",
|
||||
contextSeparator: "|",
|
||||
|
||||
Reference in New Issue
Block a user