#4032 closed (worksforme)
server restart necessary after compile-messages.py
| Reported by: | Owned by: | Jacob | |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Keywords: | internationalization po gettext translate translations | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Internationalization:
After editing my message (.po) files and running compile-messages.py, the new translations don't seem to be available until I restart the Django server. I don't have a problem with this but it should be documented (or the other step that I'm missing that would negate the need to restart)
Note:
See TracTickets
for help on using tickets.
It's documented already that any change to your Django project requires a server restart -- the reason for this is that all of your code, translation files, etc. are loaded at server startup and held resident in memory, instead of being re-read on each request.