Closed hkosmidi closed 2 years ago
This is a (multiple allowed):
After a lot of digging on why my el_GR/default.po file wasn't working I found that config/app.php file has wrong locale path:
In https://github.com/cakephp/app/blob/4.x/config/app.php#L67
'locales' => [RESOURCES . 'locales' . DS], should be 'locales' => [ROOT . DS . 'resources' . DS. 'locales' . DS],
'locales' => [RESOURCES . 'locales' . DS],
'locales' => [ROOT . DS . 'resources' . DS. 'locales' . DS],
But RESOURCES . 'locales' . DS is the same thing if you have the default constants defined https://github.com/cakephp/app/blob/6e5a382819596846e76accff5639259e64099d02/config/paths.php#L81
RESOURCES . 'locales' . DS
This is a (multiple allowed):
After a lot of digging on why my el_GR/default.po file wasn't working I found that config/app.php file has wrong locale path:
In https://github.com/cakephp/app/blob/4.x/config/app.php#L67
'locales' => [RESOURCES . 'locales' . DS],
should be'locales' => [ROOT . DS . 'resources' . DS. 'locales' . DS],