Opened 9 years ago

Last modified 22 months ago

#4979 in-progress bug

Original and translation can be different -> Relax parsing

Reported by: humdinger Owned by: VinDuv
Priority: high Milestone:
Component: Website/Userguide Translator Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

See also on docs mailing list, topic Important XML parsing changes needed.

Certain aspects of a translation must be able to differ to the original:

  • <a>: The "title="description" has to be translatable
  • <a>: The "href="URL" has to be translatable at least for external links
  • <i>,<b>: Addittional/fewer tags for emphasizing
  • <br />: Additional/fewer line breaks
  • &amp; &#38;: Additional/fewer &-symbols
  • &nbsp; &#160;: Additional/fewer non-breaking-spaces
  • &copy; &#169; copyright-symbol
  • &reg; &#174; registered-symbol
  • &trade; &#8482; tm-symbol
  • &ndash; &#8211; n-size dash
  • &mdash; &#8212; m-size dash
  • &hellip; &#8230; ellipses...

Besides &amp; and &nbsp;, those entities could also be inserted as regular Unicode chars. A drop-down menu for inserting would be helpful if that road were taken. (Or even in general, to insert the &xyz; instead of the Unicode char...)

It's relatively seldom used, so the "How to insert?" isn't that important than the "We have to be able to use more/less of them than there are in the original text".

As it's a bit more important than other tickets, esp. concerning linking to localized external sites, I gave this ticket a prio=high.

Change History (3)

comment:1 Changed 9 years ago by VinDuv

Status: newassigned

comment:2 Changed 4 years ago by pulkomandy

Milestone: R1[i18n.haiku-os.org] 2.0

comment:3 Changed 22 months ago by nielx

Milestone: [i18n.haiku-os.org] 2.0

Milestone [i18n.haiku-os.org] 2.0 deleted

Note: See TracTickets for help on using tickets.