next-i18next
Version:
The easiest way to translate your NextJs apps.
28 lines (27 loc) • 676 B
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const defaultConfig = {
defaultNS: "common",
errorStackTraceLimit: 0,
i18n: {
defaultLocale: "en",
locales: ["en"]
},
get initImmediate() {
return typeof window !== "undefined";
},
get initAsync() {
return typeof window !== "undefined";
},
interpolation: { escapeValue: false },
load: "currentOnly",
localeExtension: "json",
localePath: "./public/locales",
localeStructure: "{{lng}}/{{ns}}",
react: { useSuspense: false },
reloadOnPrerender: false,
serializeConfig: true,
use: []
};
//#endregion
exports.defaultConfig = defaultConfig;
//# sourceMappingURL=defaultConfig.cjs.map