From 5845436eb58baa52d9f6dcb80cba5f5d87624556 Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Tue, 22 Mar 2022 10:41:23 +0100 Subject: [PATCH] Fix translation not being found --- src/classes/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/page.php b/src/classes/page.php index a353c435..81524f92 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -170,7 +170,7 @@ class Page scandir(ROOT . '/translations') ) ); - $locale = \Locale::lookup($locales, $userLocale, true, 'en'); + $locale = \Locale::lookup($locales, $userLocale, false, 'en'); $this->language = $locale; }