What is wrong with?
{{=T("your long text")}}
why does it matter if the text is long? Is it because you have HTML in
the translation?
Massimo
On Dec 15, 4:18 am, Arowana <[email protected]> wrote:
> Hello,
> I am constucting a multilanguage side, and for singe words and small
> sentaces the T("blablabla") works fine.
> But what to do about longer texts?
>
> Right now I am using this solution:
>
> {{extend 'layout.html'}}
>
> {{
> if not (T.accepted_language == "fi-fi"):
> =XML('''Language 1 html in this string''')
> else:
> =XML('''Language 2 html in this string''')
>
> }}
>
> Any ideas on a better solution?
>
> Thanks.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" 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.