solution PHP translation in SDLX Trados 2007
Thread poster: danielemadrid

Local time: 22:03
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: 23:03
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

BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »
memoQ translator pro
Kilgray's memoQ is the world's fastest developing integrated localization & translation environment rendering you more productive and efficient.

With our advanced file filters, unlimited language and advanced file support, memoQ translator pro has been designed for translators and reviewers who work on their own, with other translators or in team-based translation projects.

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search