Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

An autotranslation toolkit for .po files using Google Translate API.

Project Description


lingua.autotranslate is an autotranslation toolkit for .po files using Google Translate API.


To use this package you should add the following part to your buildout:

parts =

recipe = zc.recipe.egg
eggs =

When running bin/buildout it will create a new console script for you, bin/autotranslate which requires at least two parameters:

~/workspace/my.product $ bin/autotranslate -h
usage: autotranslate [-h] -i <locale> <po file> [-s LANGUAGE] [-u]

Translate Po files.

optional arguments:
  -h, --help            show this help message and exit
  -i <locale> <po file>
                        Locale and filename of po-file to process
  -s LANGUAGE           Source language to translate from.
  -u                    Force updating translations by retranslating all


See translation example below.:

~/workspace/my.product $ bin/autotranslate -i de src/my/product/locales/de/LC_MESSAGES/my.product.po
[ Success ] New product -> Neues Produkt
[ Success ] Specification -> Beschreibung
[ Success ] Language -> Sprache
[ Found variable(s) ] ${back}
[ Success ] Back to product ${back} -> Zurück zum Produkt $ { back }




0.2.1 (2014-03-17)

  • Update docs. [saily]

0.2 (2014-03-17)

  • Print Found variables message to inform users to validate their i18n variables, because they get translated too. You will need to manually fix them after running lingua.autotranslate. [saily]
  • Allow configurable source language to start autotranslation from languages different to English. [saily]
  • Python 2.7 ships argparse but Python 2.6 does not. Add it as a installation requirement when running on Pyton 2.6. [saily]

0.1 (2013-09-06)

  • Package created using templer [saily]
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (18.0 kB) Copy SHA256 Checksum SHA256 Source Mar 17, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting