Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
greatghoul edited this page Mar 13, 2013 · 1 revision

在Windows下使用msgfmt

编译 Python Babel 的 POT 文件需要 msgfmt 工具,在 windows 下,需要下载安装 gettext

  1. 访问 http://sourceforge.net/projects/gnuwin32/files/gettext/0.14.4/
  2. 下载 gettext-0.14.4.exe 安装;或者下载 gettext-0.14.4-bin.zip 解压
  3. 假设解压(安装)的路径是 D:\gettext\ ,则将 D:\gettext\bin 加入 PATH 环境变量

运行 msgfmt 时,如果提示缺少 libiconv2.dll,则可以在你 GIT 的安装目录的 bin 文件夹中寻找,将其复制到 D:\gettext\bin 下即可。

如果没有安装 GIT,请到 http://gnuwin32.sourceforge.net/packages/libiconv.htm 自行下载 libiconv 安装

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /