cal.pub0.org/apps/web/next-i18next.config.js

31 lines
512 B
JavaScript

/* eslint-disable @typescript-eslint/no-var-requires */
const path = require("path");
module.exports = {
i18n: {
defaultLocale: "en",
locales: [
"en",
"fr",
"it",
"ru",
"es",
"de",
"pt",
"ro",
"nl",
"pt-BR",
"es-419",
"ko",
"ja",
"pl",
"ar",
"iw",
"zh-CN",
"cs",
],
},
localePath: path.resolve("./public/static/locales"),
reloadOnPrerender: process.env.NODE_ENV !== "production",
};