Tool to convert HTML tags to TMX Level 2 inline tags
Thread poster: dzerry

dzerry
Local time: 07:37
English to Polish
+ ...
Sep 18, 2008

Hi! I'm looking for a tool that would automatically parse the text, find the HTML tags and convert them to legal TMX 1.4b level 2 inline elements. For example:
This piece of text:
<b>Piece of <u>text</u></b>

to this

<bpt i="1">&lt;b&gt;</bpt>Piece of <bpt i="2">&lt;u&gt;</bpt>text<ept i="2">&lt;/u&gt;</ept><ept i="1">&lt;/b&gt;</ept>

It can be a script, XSL stylesheet, command-line tool, or a simple Level 2 compliant TMX editor. Haven't found anything so far.

Thanks!

Jarek Orlowski

[Edited at 2008-09-18 12:56]

[Edited at 2008-09-18 13:34]

[Edited at 2008-09-18 13:43]


 

Piotr Bienkowski  Identity Verified
Poland
Local time: 07:37
Member (2005)
English to Polish
+ ...
Okapi Olifant? Sep 18, 2008

dzerry wrote:

Hi! I'm looking for a tool that would automatically parse the text, find the HTML tags and convert them to legal TMX 1.4b level 2 inline elements. For example:
This piece of text:
Piece of text

to this


Piece of text


It can be a script, XSL stylesheet, command-line tool, or a simple Level 2 compliant TMX editor. Haven't found anything so far.

Thanks!

Jarek Orlowski

[Edited at 2008-09-18 12:56]

[Edited at 2008-09-18 13:34]

[Edited at 2008-09-18 13:43]


You might try importing the text as "tab delimited" into Olifant, and saving as TMX, of course with only one language in it.

Haven't tried myself, but it might work.

HTH

Piotr

P.S. I guess you were having a hard time entering the code, and just quoting your message broke it...icon_frown.gif


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Tool to convert HTML tags to TMX Level 2 inline tags

Advanced search







SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running, helps experienced users make the most of the powerful features, ensures new

More info »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search