Skip to main content

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

Project description

Introduction

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

Usage

To use this package you should add the following line to your eggs buildout section:

eggs =
    lingua.autotranslate

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> [-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
  -u                    Force updating translations by retranslating all
                        msgids.

Example:

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
...

Author

Contributors

Changelog

0.1 (2013-09-06)

  • Package created using templer [saily]

Project details


Download files

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

Source Distribution

lingua.autotranslate-0.1.zip (16.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page