Hi,

I'm a bit confused as to why this is implemented like it is.

set_lang is a string which inside pylons (_get_translator in
translation.py)  is converted to a list to make python's gettext
happy. but then it's stored as a list in translator.pylons_lang which
is retrieved by get_lang.

not only this is misleading but it's wrong as with the current code
it's not possible to have more than one lang anyway, unless you monkey
patch translation.py


or am I missing something?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
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