From a634aeddce247fbaff1ca62adaf8a1842d0cd00c Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 11 May 2023 07:08:11 +0000 Subject: [PATCH] switched to var_dump --- app/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/init.php b/app/init.php index 65935c8fb9..d8d7cf4966 100644 --- a/app/init.php +++ b/app/init.php @@ -673,7 +673,7 @@ foreach ($locales as $locale) { if (!\file_exists($path)) { $path = __DIR__ . '/config/locale/translations/' . \substr($code, 0, 2) . '.json'; // if `ar-ae` doesn't exist, look for `ar` if (!\file_exists($path)) { - Console::error('Unable to find tralsnations for ' . $locale . ' so using en.json'); + var_dump('Unable to find tralsnations for ' . $locale['code'] . ' so using en.json'); $path = __DIR__ . '/config/locale/translations/en.json'; // if none translation exists, use default from `en.json` } }