问题
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