tags:

views:

36

answers:

1

We are working on a .po file editor for translators. And the translators need to see the changes they are doing on the live website.

We managed to reload the .mo files for the current process/thread. but not for every process/thread.

Is there a possibility to accomplish this without bigger performance problems?

A: 

I checked django-rosetta and, as I suspected, they rely on the mod_wsgi AutoReload mechanism. This is what I would have suggested. For more details read Reloading Source Code.

Van Gale
From memory the django-rosetta touches the WSGI script file when committing a change to the definition files.
Graham Dumpleton