In a fresh Phoenix
project we have from start priv/gettext/errors.pot
and priv/gettext/en/LC_MESSAGES/errors.po
.
Running mix gettext.extract --merge
add default.pot
and default.po
into the right paths.
However after deleting all priv/gettext
folder content, running again mix gettext.extract --merge
seems to only create .pot
files and no .po
files, even if there are new translations in the project.
I’m facing the same issue with umbrella project in a non Phoenix
app. Running mix gettext.extract --merge
only create .pot
files.
Please what am I missing ?
I just need very basic .po
files to be generated for en
locale, so I can create from them the other locales folders (by copying en
folder and renaming it for example to fr
…).
Of course if there is also a way to have all locales
folders and thheir .po
files to be automatically generated, I will take it. ^^