Now I understand your headache. I felt that before when my application
needed to provide a lengthy manual in different languages. Eventually
I think "lengthy paragraph translating" is beyond the scope of any
"simple" i18n mechanism. So I decided to not bother the i18n, just
solve it via a raw way: prepare and maintain a manual_en.html and a
manual_bz.html and ... etc by human. Of course you can still "abuse"
the i18n mechanism to do the same thing, it works but merely
efficient: any slight change of source string forces you to re-
translate the whole paragraph again.

Sorry that my feedback doesn't provide any substantial help.

Regards,
Iceberg

On Aug16, 10:47pm, hcvst <hcv...@googlemail.com> wrote:
> 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