问题描述
我已经使用wiki脚本(webfaction)安装OSQA
现在我要编译一个消息文件,并且收到以下错误:django msgfmt命令未找到
任何想法?
命令+输出:
ls
apache2 bin lib osqa osqa.wsgi wfinstall.log
[rijkers @ web303 hozburo] $ cd osqa
[rijkers @ web303 osqa] $ ../bin/django-admin.py compilemessages
处理文件django.po in / home / rijkers / webapps / hozburo / osqa / locale / bg / LC_MESSAGES sh:msgfmt:command not found
msgfmt
是一个程序。您需要将其安装在您的系统上,以便此compilemessages命令工作(至少在我知道的情况下)。
您可能在某些* nix系统上,所以不应该很难。只需使用您的软件包管理器并安装 gettext
软件包(或类似软件)。
I have installed OSQA using the wiki script (webfaction)
Now I want to compile a message file and I get the following error: django msgfmt command not found
any ideas?
The command + output:
ls
apache2 bin lib osqa osqa.wsgi wfinstall.log
[rijkers@web303 hozburo]$ cd osqa
[rijkers@web303 osqa]$ ../bin/django-admin.py compilemessages
processing file django.po in /home/rijkers/webapps/hozburo/osqa/locale/bg/LC_MESSAGES sh: msgfmt: command not found
msgfmt
is a program. You need to have it installed on your system for this compilemessages command to work (at least as far as I know it).
You are probably on some *nix system, so it shouldn't be very hard. Just use your package manager and install gettext
package (or similar).
这篇关于django翻译:msgfmt:命令未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!