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` } }