From 5d8e4b24d7e1eef8f0bcb553cd922764bba4398d Mon Sep 17 00:00:00 2001 From: gbuomprisco Date: Tue, 3 Sep 2024 13:50:22 +0200 Subject: [PATCH] Fix correct locale env variable --- apps/web/lib/i18n/i18n.settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/lib/i18n/i18n.settings.ts b/apps/web/lib/i18n/i18n.settings.ts index 9df64efaa..4be9cf367 100644 --- a/apps/web/lib/i18n/i18n.settings.ts +++ b/apps/web/lib/i18n/i18n.settings.ts @@ -5,7 +5,7 @@ import { createI18nSettings } from '@kit/i18n'; * This is used as a fallback language when the selected language is not supported. * */ -const defaultLanguage = process.env.NEXT_PUBLIC_LOCALE ?? 'en'; +const defaultLanguage = process.env.NEXT_PUBLIC_DEFAULT_LOCALE ?? 'en'; /** * The list of supported languages.