Reputation:
I followed the instructor of installing gettext on windows and when I type xgettext --version in my command prompt it says that it has installed. but when I want to run this command: python manage.py makemessages -l "fa" in my project it says Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed. I tried so hard but it seems there are no good answers out there
Upvotes: 9
Views: 7875
Reputation: 1659
on windows7/windows10 you have to download gettext-iconv-windows , try the following url:
https://mlocati.github.io/articles/gettext-iconv-windows.html
after you download it and install it , close and reopen your CMD , and then try to use your command again .
i hope this helpful
Upvotes: 6
Reputation: 645
In windows you just need to download :
gettext-tools-xx.zip
gettext-runtime-xx.zip
from here: enter link description here
and then you need to unzip them and copy all in bin folder of both files into C:\Program Files\gettext-utils\bin and then you need to go to control panel-> system -> advanced -> environment variables and add this path:C:\Program Files\gettext-utils\bin to path variables. Note:
Upvotes: 11