小编Clu*_*ane的帖子

国际化Django(在OSX上)

我正试图让我的OSX Leopard上的Django工作

django_manage.py makemessages -l nl
Importing Django settings module settings
processing language nl
Error: errors happened while running xgettext on __init__.py
/bin/sh: xgettext: command not found
Run Code Online (Sandbox Code Playgroud)

在终端我得到相同的错误,除非我把它放在我的bash配置文件中:

PATH=$PATH:/Applications/Poedit.app/Contents/MacOS/
Run Code Online (Sandbox Code Playgroud)

但后来我得到了这个错误:

Error: errors happened while running msguniq
/bin/sh: msguniq: command not found os x 
Run Code Online (Sandbox Code Playgroud)

python unix django gettext internationalization

31
推荐指数
3
解决办法
1万
查看次数

标签 统计

django ×1

gettext ×1

internationalization ×1

python ×1

unix ×1