Mobile menu

solution PHP translation in SDLX Trados 2007
Thread poster: danielemadrid
Local time: 03:15
English to Spanish
+ ...
Jan 22, 2009

I have translated some PHP files and needed to find a way to leave intact the code while translating the text.
I opened one of the PHP files in Wordpad and noticed that the text to translate was just after these marks "=>" and also noticed that text started always with brackets.

I opened SDLX and went to New translation and in the dialog box, in File type, I chose "Generic delimited". Opened "options" and in "Column delimiter" I specified "other" and introduced =>
I also clicked in "Text is enclosed in quotes".

In "Column selection", "Source column": 2. This is because 1 corresponds to the string code.
"Translation column" also 2.

And that is. When you open the file you have the text to translate and once finished you "Create translation".

You will need to check that everything has been translated and that you have not modified the code (sometimes some bits of code are inside the text to translate).

That is the best solution I could find.
In this case I could set "=>" as a column delimiter. Check if this is the same delimiter in your files or if it is something different.

Hope this helps someone.

Direct link Reply with quote

Heinrich Pesch  Identity Verified
Local time: 04:15
Member (2003)
Finnish to German
+ ...
That is good news Jan 22, 2009

I haven't had any php for years. but think your method will come in handy to lots of SDLX-users.

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 »

solution PHP translation in SDLX Trados 2007

Advanced search

Translation news related to SDL Trados

SDL Trados Studio 2015 Freelance
The industry-leading translation software used by over 200,000 translators.

SDL Trados Studio helps translators increase translation productivity whilst ensuring quality. Combining translation memory, terminology management and machine translation in one simple and easy-to-use environment.

More info »
SDL MultiTerm 2015
Guarantee a unified, consistent and high-quality translation with terminology software.

SDL MultiTerm 2015 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2015 you can automatically create term lists from your existing documentation to save time.

More info »

All of
  • All of
  • Term search
  • Jobs