Pepipopum - Translate PO files with Google Translate

PO files originate from the GNU gettext tools and can be generated by a wide variety of other localization tools.

Pepipopum allows you to upload a PO file containing English language strings in the msgid, and it uses the Google Translate API to construct a PO file containing translated equivalents in each corresponding msgstr

If the PO file already contains a translation for a given msgid, it will not be translated. This allows you to upload a proof-read PO and just get translations for any new elements.

Input
Output options

You can automate translation by using a tool like cURL to post a PO file and obtain a translated result. For example:

    curl -F pofile=@input-po-filename \
        -F language=target-language-code \
        -F output=pofile 
        http://pepipopum.dixo.net \
        --output output-po-filename 
         

The PHP5 source code to this software is available under an Affero GPL licence. Please note that this installation of Pepipopum introduces a 1 second delay between each Google API call to reduce load on this server and to play nice with Google. If you want to go faster, you're encouraged to host your own installation.

Why is called "Pepipopum"? I just invented a word which had 'po' in it and was relatively rare on Google! Pronounce it pee-pie-poe-pum.

Comments and suggestions are welcome.