Good night's community,
I trying to use localization tools of cakephp 4 without success.
First, I have my pot and mo files in cake_root/resources/locales/es_AR.
Finally, in my AppController I have...
Everything looks OK but site is still in english. Can you help me to find my error?
Thanks,
EDIT I have no idea what's going on. I checked my default.po file (under my locale/es_AR folder) and it looks OK.
But mi app is showing messages in english.
Does anyone have a lead to follow?
EDIT 2 I'm grapping string in __() as you say @Greg Schmidt.
Well, in the end it worked. It was a cache problem. Manually deleting the /tmp/cache folder fixed the problem.