The source project of this merge request has been removed.
generate compiled translations (.mo files) when the package is built
With this PR, executing poetry build
will generate automatically canaille/translations/*/LC_MESSAGES/messages.mo
. The .mo will be included in the wheel archive.
pybabel must be installed on the system (or in an activated virtualenv). It's the same in the Makefile.