Hi Uwe,

The translation should occur at run time so this shouldn't be a problem. 
How are you doing the translation?

If you are using the Pylons _() function in the template everything 
should be fine surely?

Cheers,

James

Uwe Feldtmann wrote:
> I've cross posted this on the Mako list as well.
> 
> Now I'm not sure if this is a question for this list or the Mako list.
> 
> The scenario:-
> 
> A template contains translatable strings and is rendered by the Pylons
> controller via Mako.
> The translated and compiled template ends up in data/templates/xxx.py
> 
> user A wants the page in English
> user B wants it in ForeignLang
> 
> What happens if both users request the page at the same time?  I assume
> it will be generated twice (which seems wasteful), once for each
> language overwriting the one before it.
> 
> Is there a way to avoid overwriting an already generated page?
> 
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to