I believe you will have to execute the jquery selector at least once before
your string will appear in the language file.
On Friday, January 10, 2014 7:31:40 AM UTC+8, Ruud Schroen wrote:
>
> I have a translatable string inside a jquery selector. I properly escaped
> the single quotes cause i don't get an error from jquery.
>
> $("#resultemail").removeClass().addClass('error').text('{{=T("Sorry, we
>> don\\'t know you...")}}').fadeTo(900,1);
>>
>
> But the string is not showing up in my language file, why?
>
> Note: not sure if it matters, but the string is inside a ajax function
> (the error part)
>
>
>
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.