From 42261e5e515d581b15de873456ccff981964fb8a Mon Sep 17 00:00:00 2001 From: grandeljay Date: Thu, 9 Jun 2022 11:56:24 +0200 Subject: [PATCH] Fix missing translation for logged out users --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 51d35c4e..1885b7ae 100644 --- a/index.php +++ b/index.php @@ -111,7 +111,7 @@ $locales = array_filter( $extension = pathinfo($value, PATHINFO_EXTENSION); $filename = pathinfo($value, PATHINFO_FILENAME); - if ('po' === $extension && strlen($filename) > 2) { + if ('po' === $extension) { return pathinfo($value, PATHINFO_FILENAME); } },