2021-09-23 08:49:17 +00:00
|
|
|
const path = require("path");
|
|
|
|
|
2022-05-06 17:21:30 +00:00
|
|
|
/** @type {import("next-i18next").UserConfig} */
|
|
|
|
const config = {
|
2021-09-23 08:49:17 +00:00
|
|
|
i18n: {
|
|
|
|
defaultLocale: "en",
|
2022-01-20 13:11:43 +00:00
|
|
|
locales: [
|
|
|
|
"en",
|
|
|
|
"fr",
|
|
|
|
"it",
|
|
|
|
"ru",
|
|
|
|
"es",
|
|
|
|
"de",
|
|
|
|
"pt",
|
|
|
|
"ro",
|
|
|
|
"nl",
|
|
|
|
"pt-BR",
|
|
|
|
"es-419",
|
|
|
|
"ko",
|
|
|
|
"ja",
|
|
|
|
"pl",
|
|
|
|
"ar",
|
|
|
|
"iw",
|
2022-01-24 16:52:53 +00:00
|
|
|
"zh-CN",
|
2022-02-11 10:41:57 +00:00
|
|
|
"zh-TW",
|
2022-02-02 18:53:16 +00:00
|
|
|
"cs",
|
2022-02-15 11:40:06 +00:00
|
|
|
"sr",
|
2022-03-09 17:52:48 +00:00
|
|
|
"sv",
|
2022-04-06 16:21:42 +00:00
|
|
|
"vi",
|
2022-01-20 13:11:43 +00:00
|
|
|
],
|
2021-09-23 08:49:17 +00:00
|
|
|
},
|
|
|
|
localePath: path.resolve("./public/static/locales"),
|
2022-01-03 22:50:59 +00:00
|
|
|
reloadOnPrerender: process.env.NODE_ENV !== "production",
|
2021-09-23 08:49:17 +00:00
|
|
|
};
|
2022-05-06 17:21:30 +00:00
|
|
|
|
|
|
|
module.exports = config;
|