I get it now. You need:
 
  T.current_languages = []

Otherwise this is set to

  T.current_languages = ['en']

and it things the current language is english and therefore it does not 
need translation.


On Monday, 24 February 2014 01:45:49 UTC-6, User wrote:
>
> In fact, if I put an entry in en-gb.py and set my browser accept-language 
> to en-gb it will correctly pick up this string, but for some reason it's 
> not picking up the string in en-us (unless I'm doing something wrong). 
>
> Also interesting to note, is when I view my site with en-gb or es as the 
> accept lang, web2py seems to automatically modify the en-gb.py and 
> es.py files with default entries for every default string, whereas it's not 
> doing that for en-us.py
>
> Does this have to with en-us.py being a default or something?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to