posts - 431,  comments - 344,  trackbacks - 0

          This is only needed for people who either want to extract message IDs or compile message files (.po). Translation work itself just involves editing existing files of this type, but if you want to create your own message files, or want to test or compile a changed message file, you will need the gettext utilities:

          • Download the following zip files from http://sourceforge.net/projects/gettext
            • gettext-runtime-X.bin.woe32.zip
            • gettext-tools-X.bin.woe32.zip
            • libiconv-X.bin.woe32.zip
          • Extract the 3 files in the same folder (i.e. C:\Program Files\gettext-utils)
          • Update the system PATH:
            • Control Panel > System > Advanced > Environment Variables
            • In the System variables list, click Path, click Edit
            • Add ;C:\Program Files\gettext-utils\bin at the end of the Variable value field

          You may also use gettext binaries you have obtained elsewhere, so long as the xgettext --version command works properly. Some version 0.14.4 binaries have been found to not support this command. Do not attempt to use Django translation utilities with a gettext package if the command xgettext --version entered at a Windows command prompt causes a popup window saying "xgettext.exe has generated errors and will be closed by Windows".

          posted on 2008-12-04 11:21 周銳 閱讀(499) 評論(0)  編輯  收藏 所屬分類: Python
          主站蜘蛛池模板: 腾冲县| 玛纳斯县| 东乌| 长沙县| 华池县| 清新县| 射阳县| 南华县| 托克托县| 黎川县| 中江县| 荔波县| 周至县| 乌兰浩特市| 霍林郭勒市| 长沙县| 澄迈县| 平罗县| 清水县| 同德县| 日喀则市| 盐城市| 于都县| 固安县| 花莲市| 渝北区| 肇州县| 米泉市| 鹤壁市| 壶关县| 蕉岭县| 赣榆县| 新龙县| 遵化市| 闽侯县| 翁源县| 巫溪县| 蓝田县| 浪卡子县| 历史| 大安市|