2015-03-04

mac os(osx) 安裝 gettext 方法


你是不是在 MAC 上安裝 GNU gettext 後依然無法正確執行?
$ django-admin.py makemessages  -l "zh_TW" -settings=urproject/settings.py

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


正常安裝方式應該是
#brew install gettext
#brew link gettext --force
#django-admin.py makemessages  -l "zh_TW" -settings=biyibird/settings.py
processing locale zh_TW




沒有留言:

張貼留言