Update all languages will not catch this because this can only be
caught at run-time. The string should be added in the language file
when you run the action (and the browser set to the language needing
translation).

try again, check the language file timestamp. If the file is not being
updated, may be a permission issue.

On Nov 25, 9:48 am, Carlos <[email protected]> wrote:
> Hi,
>
> I am trying to make internationalization work with variables, in my
> local environment on Win7, with web2py 1.89.1.
>
> For reference I have the following test controller:
>
> def xyz():
>     x = 'xyz'
>     return T(x)
>
> But after calling that method, when I look at any of the language
> files, the string 'xyz' is not there, even after executing "update all
> languages".
>
> Am I doing anything wrong?.
>
> Thanks,
>
>    Carlos

Reply via email to