From 6ad625812a77dc1a63b3c88792b588de11ae8f3c Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Tue, 9 Sep 2025 16:01:04 -0400 Subject: Add a default language constant (#7933) This replace the use of `en` through out the code. --- app/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/install.php') diff --git a/app/install.php b/app/install.php index 6c7647492..3d7f88913 100644 --- a/app/install.php +++ b/app/install.php @@ -35,7 +35,7 @@ function initTranslate(): void { } if (!in_array(Minz_Session::paramString('language'), $available_languages, true)) { - Minz_Session::_param('language', 'en'); + Minz_Session::_param('language', Minz_Translate::DEFAULT_LANGUAGE); } Minz_Translate::reset(Minz_Session::paramString('language')); -- cgit v1.2.3