A django module for turning strings.txt into po-mo files.
The full documentation is at https://django_localize.readthedocs.io.
Install django_localize:
pip install django_localize
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django_localize.apps.DjangoLocalizeConfig',
...
)
Add django_localize's URL patterns:
from django_localize import urls as django_localize_urls
urlpatterns = [
...
url(r'^', include(django_localize_urls)),
...
]
- TODO
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package: