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

40 lines
634 B
JavaScript
Raw Normal View History

const path = require("path");
/** @type {import("next-i18next").UserConfig} */
const config = {
i18n: {
defaultLocale: "en",
locales: [
2023-08-22 12:34:55 +00:00
"ar",
"cs",
"da",
"de",
"en",
2023-08-22 19:00:20 +00:00
// "es-419", // Disabled until Crowdin reaches at least 80% completion
2023-08-22 12:34:55 +00:00
"es",
"fr",
2023-08-22 12:34:55 +00:00
"he",
"it",
"ja",
2023-08-22 12:34:55 +00:00
"ko",
"nl",
"no",
"pl",
2023-08-22 12:34:55 +00:00
"pt-BR",
"pt",
"ro",
"ru",
"sr",
"sv",
2023-04-04 22:13:00 +00:00
"tr",
2023-08-22 12:34:55 +00:00
"uk",
"vi",
"zh-CN",
"zh-TW",
],
},
reloadOnPrerender: process.env.NODE_ENV !== "production",
};
module.exports = config;