Yehia Yasser
Yehia Yasser

Reputation: 95

Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed

https://www.youtube.com/watch?v=AlJ8cGbk8ps i followed this video and when i do this command django-admin makemessages -l ar it gives me this error CommandError: Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed. and i have installed pip install python-gettext any aswers? Thanks in advance

Upvotes: 10

Views: 14972

Answers (1)

willeM_ Van Onsem
willeM_ Van Onsem

Reputation: 476493

and i have installed pip install python-gettext

The problem is not the Python binding of gettext, it is the gettext library itself. This is not a Python library, but a system library.

You can install this on a debian-like system (Debian, Ubuntu, Raspbian, and Knoppix):

sudo apt-get install gettext

For other operating systems, you can probably build it from the source files, or look for a repository that makes binaries.

Upvotes: 22

Related Questions