aboutsummaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2025-09-09 16:01:04 -0400
committerGravatar GitHub <noreply@github.com> 2025-09-09 22:01:04 +0200
commit6ad625812a77dc1a63b3c88792b588de11ae8f3c (patch)
treef39a1d66f3e643193f9f1a9b343aca3a6b6525ee /app/install.php
parentde624dc8ce63ec819c61216d9d44f828841c293e (diff)
Add a default language constant (#7933)
This replace the use of `en` through out the code.
Diffstat (limited to 'app/install.php')
-rw-r--r--app/install.php2
1 files changed, 1 insertions, 1 deletions
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'));