Unless I misunderstand... It is not a bug. web2py does not assume that
your current language is english so you have to declare it:

T.current_language=['en']

this tells web2py that 'accept-language: en' does not need
translation.

Massimo

On Dec 15, 11:21 pm, vince <[email protected]> wrote:
> T.current_languages['en'] doesn't work as expected
> however, when i edit gluon/languages.py and change
> self.current_languages = ['en'] it works.
> my current workaround is to put a en.py file inside language directory
> with just "()"
>
> -vince
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to