After many attempts, I managed getting the .po
files generated when running the mix task.
I ended up by understanding that I have to create by hand en/LC_MESSAGES
folder.
Same for any locale I need to use: fr/LC_MESSAGES
.
But for Phoenix
errors.pot
file which I deleted, I was forced to take it from another project. This is probably because it contains dynamic translations that can’t be statically extracted.