Fix correct locale env variable

This commit is contained in:
gbuomprisco
2024-09-03 13:50:22 +02:00
parent 65a04fcf1b
commit 5d8e4b24d7

View File

@@ -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.