cal.pub0.org/packages/config/next-i18next.config.js

40 lines
573 B
JavaScript
Raw Normal View History

const path = require("path");
/** @type {import("next-i18next").UserConfig} */
const config = {
i18n: {
defaultLocale: "en",
locales: [
"en",
"fr",
"it",
"ru",
"es",
"de",
"pt",
"ro",
"nl",
"pt-BR",
"es-419",
"ko",
"ja",
"pl",
"ar",
2023-07-17 09:57:29 +00:00
"he",
"zh-CN",
"zh-TW",
"cs",
"sr",
"sv",
"vi",
2022-12-05 13:58:00 +00:00
"no",
"uk",
2023-02-23 15:40:17 +00:00
"da",
2023-04-04 22:13:00 +00:00
"tr",
],
},
reloadOnPrerender: process.env.NODE_ENV !== "production",
};
module.exports = config;