Scheduling infrastructure for absolutely everyone.
chore: make i18n.json the single source of truth (#17876)
Benny Jooe8f84779f53f
diff --git a/packages/config/next-i18next.config.js b/packages/config/next-i18next.config.jsindex 9560fb4109a..60901b042cd 100644--- a/packages/config/next-i18next.config.js+++ b/packages/config/next-i18next.config.js@@ -1,42 +1,10 @@-const path = require("path");+const i18n = require("../../i18n.json");/** @type {import("next-i18next").UserConfig} */const config = {i18n: {- defaultLocale: "en",- locales: [- "ar",- "az",- "ca",- "cs",- "da",- "de",- "en",- "es-419",- "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",- ],+ defaultLocale: i18n.locale.source,+ locales: i18n.locale.targets.concat([i18n.locale.source]),},fallbackLng: {default: ["en"],