Skip to content

Commit

Permalink
Fix a typo in the option --all of the makemessages command (#5198)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-shamakhi committed Jul 9, 2024
1 parent c3e1983 commit e716be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/locale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Start by configuring the `LANGUAGES` settings in `base.py`, by uncommenting languages you are willing to support. Then, translations strings will be placed in this folder when running:

```bash
{% if cookiecutter.use_docker == 'y' %}docker compose -f docker-compose.local.yml run --rm django {% endif %}python manage.py makemessages -all --no-location
{% if cookiecutter.use_docker == 'y' %}docker compose -f docker-compose.local.yml run --rm django {% endif %}python manage.py makemessages --all --no-location
```
This should generate `django.po` (stands for Portable Object) files under each locale `<locale name>/LC_MESSAGES/django.po`. Each translatable string in the codebase is collected with its `msgid` and need to be translated as `msgstr`, for example:
Expand Down

0 comments on commit e716be4

Please sign in to comment.