Mobile menu

Translating an HTML-like file, leaving the original
Thread poster: xxxdrkoljan
xxxdrkoljan
Latvia
Local time: 12:10
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: 11:10
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


Translation news





Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

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 »



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