Django-autotranslate

A simple Django app to automatically translate the pot (.po) files generated by django's makemessages command using google translate.

View the Project on GitHub ankitpopli1891/django-autotranslate

django-autotranslate

A simple Django app to automatically translate the pot (.po) files generated by django's makemessages command using google translate.

pypi-version pypi-downloads-month requirements

Installation:

pip install django-autotranslate

Add 'autotranslate' to your INSTALLED_APPS setting.

INSTALLED_APPS = (
    ...
    'autotranslate',
)

Quickstart:

python manage.py translate_messages

The command finds all the generated pot (.po) files under the locale paths (LOCALE_PATHS) specified in django project settings, and translates them automatically.

Options:

Settings: