realpython / dockerizing-django

https://realpython.com/blog/python/django-development-with-docker-compose-and-machine/
1.34k stars 484 forks source link

Can't find xgettext #15

Closed tanrax closed 8 years ago

tanrax commented 8 years ago

$> docker-compose run web /usr/local/bin/python manage.py makemessages
CommandError: Can't find xgettext. Make sure you have GNU gettext tools 0.15 or newer installed.
mjhea0 commented 8 years ago

http://stackoverflow.com/a/25152013/1799408

tanrax commented 8 years ago
$ docker-compose run web apt-get install -y gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gettext is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gettext' has no installation candidate

It should not be included in the package? But you can not do internationalizations. :)