mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-15 22:27:05 +03:00
72887ed673
* 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>
15 lines
462 B
ReStructuredText
15 lines
462 B
ReStructuredText
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.
|