Translating an HTML-like file, leaving the original
Thread poster: drkoljan (X)

drkoljan (X)
Latvia
Local time: 14:24
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]


 

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

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

 


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







TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »



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