Is your feature request related to a problem? Please describe.
adapt-it currently stores both po and mo files in the source tree, but the mo can simply be generated from a po. The mo files are also a bit of an issue for future translation editors, since they might need to regenerate them -- that's extra complexity.
Describe the solution you'd like
Delete all mo files from source tree. Change the build script so that they are generated at build-time.
It might be needed to put a msgfmt.exe in the source tree to do the generation, like what you are already doing for many other utils in bin/win32. msgfmt should be present via the get text dependency on Linux and macOS.
Describe alternatives you've considered
I don't know, don't do it?
Additional context
Another unusual thing here is that default.po, basically a file without translation, is present in po/. In normal gettext setups, an all-empty file is usually treated as a "PO template", with the filename ending with .pot instead. It works though, so no need to change it.
Is your feature request related to a problem? Please describe. adapt-it currently stores both po and mo files in the source tree, but the mo can simply be generated from a po. The mo files are also a bit of an issue for future translation editors, since they might need to regenerate them -- that's extra complexity.
Describe the solution you'd like Delete all mo files from source tree. Change the build script so that they are generated at build-time.
It might be needed to put a
msgfmt.exe
in the source tree to do the generation, like what you are already doing for many other utils inbin/win32
.msgfmt
should be present via the get text dependency on Linux and macOS.Describe alternatives you've considered I don't know, don't do it?
Additional context Another unusual thing here is that
default.po
, basically a file without translation, is present inpo/
. In normal gettext setups, an all-empty file is usually treated as a "PO template", with the filename ending with.pot
instead. It works though, so no need to change it.