Is there a gettext utility that will allow me to change PO files from the command line by offering a msgid and a new msgstring as an argument?
Is 开发者_StackOverflow中文版there a gettext utility that will allow me to change PO files from the command line by offering a msgid and a new msgstring as an argument?
I have not seen a complete tool that does this, but it should be easy enough to put one together using polib to parse and manipulate the file, with a small bit of glue code to parse the command line arguments.
精彩评论