Would calling add_translation_dirs again help?

http://docs.pylonsproject.org/projects/pyramid/en/1.4-branch/api/config.html#pyramid.config.Configurator.add_translation_dirs

That might be at least some starting point. I'm also looking at the way to 
internationalise pyramid app, and apart from using gettext, I'm wondering, 
If I can preload these translations from database.

As for the update/extract I'm wondering, if it wouldn't be better to use 
babel cli (but I have to read further on this).

W dniu czwartek, 7 lutego 2013 10:46:26 UTC+1 użytkownik Nicolas Di Pietro 
napisał:
>
> Hi group !
>
> I'm trying to implement some cms like system for a website that must be 
> translated in several languages (more or less 10), one of the aim of this 
> is to have some translation teams to be able to translate part of the site, 
> translations reviewed by, let's say, editors and, on approval, translations 
> updated on the site. (so the app is more or less just a webinterface )
>
> I will write functions to edit po files (translate the site), I guess, I 
> will have to call some os.system to call the setup.py update_catalog and 
> setup.py compile_catalog (although I would prefer to use some functions to 
> do this, but I did not find yet how to do it).
>
> The question is: how to force pyramid to take in account the updated mo 
> file ? I mean, without stopping  the application and starting it again ? I 
> guess the file is uploaded in memory and not re-read after that, is this 
> the case ?
>
> Thanks for your help, have a nice day,
>
> Nicolas
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to