Translating an HTML-like file, leaving the original
Thread poster: xxxdrkoljan
xxxdrkoljan
Latvia
Local time: 13:11
English to Russian
+ ...
Sep 29, 2008

I have to translate a file which is full of HTML tags. The problem is, I have to leave the original text following the translation. Here's an example:

Code:
"chunk_1[english]"   "text
text
text
"
"chunk_2[english]" "text text text"

"chunk_3[english]" "text

text"




..has to become...


Code:
"chunk_1"   "translated text
translated text
translated text
"
"chunk_1[english]" "text
text
text
"
"chunk_2" "translated text translated text translated text"
"chunk_2[english]" "text text text"

"chunk_3" "translated text

translated text"

"chunk_3[english]" "text

text"



In other words, the total number of lines doubles, the translated chunk is followed by the English one - the translated chunk shouldn't have the '[english]' part.

I'd greatly appreciate if someone could advise me on what would be the easiest way to accomplish this. Tag protection is preferable. If possible, I would be happy if I could use the Word spelling functionality (like in SDLX) as well.

Thanks in advance,

Nicholas

[Edited at 2008-09-29 17:42]


Direct link Reply with quote
 

John Rawlins  Identity Verified
Spain
Local time: 12:11
Spanish to English
+ ...
Try the technical forum Oct 1, 2008

This question is more likely to be answered if posted in the technical forum.

Direct link Reply with quote
 


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


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

Translating an HTML-like file, leaving the original

Advanced search







PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »
Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »



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