Translating gettext PO files with Google Translate
Managing translations for multilingual software can be tedious. You maintain a POT template with all your strings, and then need to keep multiple (gettext) PO files synchronized and translated. I wrote a small command-line tool in Go called “potranslate” to automate the translation part using Google Translate. Use it from the command line: # Scans for default.pot and PO files in ./locales potranslate --source-lang en ./locales Point it at a directory with POT and PO files, and it will: ...