first commit
This commit is contained in:
46
calcom/packages/config/next-i18next.config.js
Normal file
46
calcom/packages/config/next-i18next.config.js
Normal file
@@ -0,0 +1,46 @@
|
||||
const path = require("path");
|
||||
|
||||
/** @type {import("next-i18next").UserConfig} */
|
||||
const config = {
|
||||
i18n: {
|
||||
defaultLocale: "de",
|
||||
locales: [
|
||||
//"ar",
|
||||
//"cs",
|
||||
//"da",
|
||||
"de",
|
||||
"en",
|
||||
// "es-419", // Disabled until Crowdin reaches at least 80% completion
|
||||
//"es",
|
||||
//"et",
|
||||
//"fr",
|
||||
//"he",
|
||||
//"hu",
|
||||
//"it",
|
||||
//"ja",
|
||||
//"km",
|
||||
//"ko",
|
||||
//"nl",
|
||||
//"no",
|
||||
//"pl",
|
||||
//"pt-BR",
|
||||
//"pt",
|
||||
//"ro",
|
||||
//"ru",
|
||||
//"sr",
|
||||
//"sv",
|
||||
//"tr",
|
||||
//"uk",
|
||||
//"vi",
|
||||
//"zh-CN",
|
||||
//"zh-TW", Alle anderen Sprachen deaktiviert.
|
||||
],
|
||||
},
|
||||
fallbackLng: {
|
||||
default: ["de"],
|
||||
//zh: ["zh-CN"], ICch glaube das braucht man nur als fallback wenn Mandarin aktiviert ist
|
||||
},
|
||||
reloadOnPrerender: process.env.NODE_ENV !== "production",
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user