Hi Iceberg,

it's a lengthy paragraph and I want to be able to translate it as one
because
the other language's word order is different.
Is there a better way?

How would one translate for example:

"""
<b>Caipirinha</b> is <a href="/wiki/Brazil" title="Brazil">Brazil</
a>'s national cocktail, made with <a href="/wiki/Cacha%C3%A7a"
title="Cachaça">cachaça</a>
""" (from wikipedia)

into

"""
<a href="/wiki/Brazil" title="Brazil">Brazil</a>'s national cocktail,
made with <a href="/wiki/Cacha%C3%A7a" title="Cachaça">cachaça</a> is
<b>Caipirinha</b>
"""

That was my problem.

HC




On Aug 16, 4:12 pm, Iceberg <iceb...@21cn.com> wrote:
> Your answer might work, but I would suggest B(T('Howto')). The point
> is to separate language string (the "Howto") from appearance (the
> "<b>...</b>").
>
> On Aug15, 7:34pm, hcvst <hcv...@googlemail.com> wrote:
>
> > Is it
> > {{=XML(T('<b>Howto</b>'))}}
> > One tends to find an answer only ever after submitting a question.
>
> > On 15 Aug., 13:22, hcvst <hcv...@googlemail.com> wrote:
>
> > > Hi,
>
> > > I am sure I've seen this question here before but I cannot find it.
> > > Can one translate an entire paragraph including the markup?
>
> > > HC
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to