- As of version 0.9.0, Rosetta supports Django 1.11 and up.
pip install django-rosetta
'rosetta'to the INSTALLED_APPS in your project’s
Add an URL entry to your project’s
urls.py, for example:
from django.conf import settings from django.conf.urls import include, re_path if 'rosetta' in settings.INSTALLED_APPS: urlpatterns += [ re_path(r'^rosetta/', include('rosetta.urls')) ]
Note: you can use whatever you wish as the URL prefix.
To uninstall Rosetta, simply comment out or remove the
'rosetta' line in your
pip install tox && tox
Because Rosetta requires write access to some of the files in your Django project, access to the application is restricted to the administrator user only (as defined in your project’s Admin interface)
If you wish to grant editing access to other users:
- Create a ‘translators’ group in your admin interface
- Add the user you wish to grant translating rights to this group