A simple Django app to automatically translate the pot (`.po`) files generated by django's makemessages command using google translate.
Project description
A simple Django app to automatically translate the pot (.po) files generated by django’s makemessages command using google translate.
Installation:
$ pip install django-autotranslate
Quickstart:
Assumption: you already have run makemessages command and .po files have been generated.
Add ‘autotranslate’ to INSTALLED_APPS setting.
Add GOOGLE_TRANSLATE_KEY to your settings.py if you want to use the paid API
Otherwise it will use the ‘goslate’ package to use free web-based Google Translate
Run the following command to see the magic happen (fingers crossed):
$ python manage.py translate_messages
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.