The problem is not looking for T in the modules folder. The problem is
that modules are imported, not executed, thus in their environment T
is not defined. And even if it were defined you cannot be for sure
this is the same T of web2py. It could for example be a class defined
by the developer that has nothing to do with internationalization.

The proper way to handle this is not to hardcode internationalization
strings in modules.
Internationalization strings must be passed to the function/objects
defined in the module.

Massimo

On Jan 14, 2:12 pm, vince <[email protected]> wrote:
> i found that any T("") translation inside modules can not be detected.
> i've look into lanuages.py and it only search on mvc files. pls add
> modules path as well. thanks
>
> -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