Cant locale plugin - i18n fail

Hi
I have created plugin Blog and extracted the pot file, but not working

1._ I set the default locale in app.php
’defaultLocale’ => env(‘APP_DEFAULT_LOCALE’, ‘es_MX’)

2._ The pot file is on: plugins/Blog/src/Locale/es_MX/blog.po

3._ I have also removed the cache again and again, but the changes are not reflected

Someone who can help me, greetings

1 Like

You should name your po file to default.po

Thank you very much for the help.
The error was mine, because i did not use the __d () function.
However, the name of the po file must be the same as that of the plugin.

Thanks !

2 Likes