If I execute the following in a Divio Cloud (formerly known as "Aldryn") project:
docker-compose run --rm web python manage.py makemessages
I get:
CommandError: Can't find xgettext. Make sure you have GNU gettext tools 0.15 or newer installed.
- Is running `manage.py makemessages the right way to create / update message files on Divio Cloud?
As a workaround I have added this to the Dockerfile
:
# add gettext for manage.py makemessages
RUN apt-get update && apt-get install -y gettext
and then
docker-compose build web
- Also, will the .mo files be compiled on Divio Cloud deployment or does one have to precompile them?