cakephp / app

CakePHP application template
366 stars 390 forks source link

Locales path is wrong #887

Closed hkosmidi closed 2 years ago

hkosmidi commented 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],

markstory commented 2 years ago

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