mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-17 08:41:08 +00:00
* add pt_BR .po file
* add ptBR strings
* update docs
* add README.rst info for i18n
* Update {{cookiecutter.project_slug}}/locale/pt_BR/LC_MESSAGES/django.po
Co-authored-by: Fábio C. Barrionuevo da Luz <bnafta@gmail.com>
---------
Co-authored-by: Matheus Jardim <matheus.jardim@conceptu.ind.br>
Co-authored-by: Fábio C. Barrionuevo da Luz <bnafta@gmail.com>
|
||
|---|---|---|
| .. | ||
| pt_BR/LC_MESSAGES | ||
| README.rst | ||
Translations
============
Start by configuring `LANGUAGES` at settings, by uncommenting languages you are willing to support.
Translations will be placed in this folder when running:
python manage.py makemessages --all
Then you should edit the .po files providing proper translations and then run the following for compiling the messages:
python manage.py compilemessages
Note: You may need to restart the django server for changes to take effect.