【问题标题】:How to convert .po to .mo files on mac?如何在 mac 上将 .po 转换为 .mo 文件?
【发布时间】:2011-04-05 18:03:51
【问题描述】:

我曾尝试使用 poedit 1.4.6>另存为,但 .mo 不是一个选项。

【问题讨论】:

    标签: internationalization translation gettext po mo


    【解决方案1】:

    安装 gettext,然后对文件运行 msgfmt 命令。

    > brew install gettext
    > msgfmt inputfile.po -o outputfile.mo
    

    【讨论】:

      【解决方案2】:

      啊,简单但不清楚,每当您使用 poedit 将文件保存为 .po 时,它也会自动保存一个 .mo 文件。 (.mo 是语言文件的编译版本)

      【讨论】:

        猜你喜欢
        • 2012-06-07
        • 1970-01-01
        • 2015-08-17
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多