使用 msgcat & 从 .properties 文件生成 .PO 文件将生成的 .po 文件连接成单个 .PO

发布于 2024-12-26 14:17:38 字数 147 浏览 6 评论 0原文

  1. 我需要使用适用于 Windows 的 gettext 包中的 msgcat 从 .properties 文件生成 .PO 文件。
  2. 之后,使用 msgcat 将生成的 .po 文件连接到单个 .PO(这将是翻译内存,但采用 PO 格式)。
  1. I need to generate a .PO file from a .properties file using msgcat from gettext package available for windows.
  2. After it, using msgcat, concatenate the .po files generated into a single .PO (this would be the translatrion memory but in PO format).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夕嗳→ 2025-01-02 14:17:38

用于连接

http://svn.softwarepublico.gov.br/trac/invesalius/browser/invesalius2/branches/slice_editor/req/gettext-0.14.4.exe?rev=2038

安装后在命令提示符中转到路径“C:\Program Files (x86)\GnuWin32\bin”。然后使用命令 msgcat "" "" --output-file=""。之后我可以成功连接两个 po 文件。

For concatenating

Download gettext-0.14.4.exe from http://svn.softwarepublico.gov.br/trac/invesalius/browser/invesalius2/branches/slice_editor/req/gettext-0.14.4.exe?rev=2038

After installing it go to the path "C:\Program Files (x86)\GnuWin32\bin" in command prompt. then use the command msgcat "" "" --output-file="". After it I could concatenate the two po files successfully.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文