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

12 lines
364 B
JavaScript
Raw Permalink Normal View History

/* eslint-disable @typescript-eslint/no-var-requires */
const path = require("path");
module.exports = {
i18n: {
defaultLocale: "en",
2021-11-02 16:15:57 +00:00
locales: ["en", "fr", "it", "ru", "es", "de", "pt", "ro", "nl", "pt-BR", "es-419", "ko", "ja"],
},
localePath: path.resolve("./public/static/locales"),
reloadOnPrerender: process.env.NODE_ENV !== "production",
};