Code

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#4032 closed (worksforme)

server restart necessary after compile-messages.py

Reported by: temp@… Owned by: jacob
Component: Documentation Version: master
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: UI/UX:

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)

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

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.

comment:2 Changed 4 years ago by trebor74hr

the same issue in #9523

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.