Skip to content

Commit

Permalink
update translation docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TimidRobot committed Jul 3, 2024
1 parent b798b4e commit bf22cea
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions docs/translation.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,12 @@ Documentation:
docker compose exec app ./manage.py add_objects -v2 --zero -l tlh
```
4. Synchronize repository Gettext files with Transifex
5. Compile `.mo` machine object Gettext files:
```shell
docker compose exec app ./manage.py compilemessages
```


## Synchronize with Transifex
## Synchronize repository Gettext files with Transifex

- **TODO** document processes of synchronizing the repository Gettext files
with Transifex, including the following management commands:
Expand Down Expand Up @@ -119,16 +122,3 @@ Documentation:

[gitpythondocs]: https://gitpython.readthedocs.io/en/stable/index.html
[requestsdocs]: https://docs.python-requests.org/en/master/


## Translation Update Process

This Django Admin command must be run any time the `.po` portable object
Gettext files are created or changed.

1. Ensure the [Data Repository](#data-repository), above, is in place
2. Ensure [Docker Compose Setup](#docker-compose-setup), above, is complete
3. Compile translation messages (update the `.mo` machine object Gettext files)
```shell
docker compose exec app ./manage.py compilemessages
```

0 comments on commit bf22cea

Please sign in to comment.