From d8925c1e72a9d591306730bee496831bafa63027 Mon Sep 17 00:00:00 2001 From: FleetAdmiralJakob Date: Sat, 13 Jan 2024 18:04:20 +0100 Subject: [PATCH] chore: Added a fallback lang --- apps/web/next-i18next.config.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/web/next-i18next.config.js b/apps/web/next-i18next.config.js index ac8a8036..e1d79f87 100644 --- a/apps/web/next-i18next.config.js +++ b/apps/web/next-i18next.config.js @@ -1,7 +1,10 @@ /** @type {import('next-i18next').UserConfig} */ module.exports = { i18n: { - defaultLocale: 'en', - locales: ['en', 'de'] - } -} + defaultLocale: "en", + locales: ["en", "de"], + }, + fallbackLng: { + default: ["en"], + }, +};