Specify keySeparator

This commit is contained in:
Michael Telatynski
2023-11-20 13:47:36 +00:00
parent 1f461643a6
commit 70dbf95429
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
};

View File

@@ -72,7 +72,7 @@ export class Initializer {
.init({
fallbackLng: "en-GB",
defaultNS: "app",
keySeparator: false,
keySeparator: ".",
nsSeparator: false,
pluralSeparator: "_",
contextSeparator: "|",