apply translation using gettext .po files

时光毁灭记忆、已成空白 提交于 2020-04-30 05:44:13

问题


Okay, this should be simple, but I can't find the information I need.

Let's say I created .po file from some text file (which is not a source code). I translated needed strings.

How do I apply this .po file? In other words what software should I use to replace strings in a given text file based on the existing .po file?

I expect this to be a commandline utility or gui-based that can do this in a batch for hundreds of files.

Edit: oh, forgot one important thing. This is for Windows!


回答1:


polib can, with a bit of glue code, be used to manipulate .po files in batch mode.



来源:https://stackoverflow.com/questions/17766089/apply-translation-using-gettext-po-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!