Mobile menu

php localisation: dtd settings
Thread poster: Aspena
Czech Republic
Local time: 20:44
German to Czech
+ ...
Feb 14, 2005

Hi all,

I was wondering, if anyone have a pre-defined dtd settings (for Trados TagEditor)for PHP files.

I know PHP is very complex language, anyway I suppose there must be someone already dealing with this.

If anyone could help me, I would be very grateful.

Thank you!


Direct link Reply with quote

Local time: 20:44
PHP --> Tag Editor Feb 14, 2005

Hi Michal,

PHP files can be opened and translated with TagEditor (6.5).

You don't need an other ini file. Trados say it works with php files.

PHP is a nice and easy to understand language


W. Polmann

Direct link Reply with quote

Spiros Doikas  Identity Verified
Local time: 21:44
Member (2002)
English to Greek
+ ...
Not so sure how well TagEditor does the job Feb 11, 2007

In my test (Trados 7.1) it failed to see the translatable string of the famous "hello world" example
[spaces added in order for this page to display correctly the script]

< ? php
echo 'Hello, World!';
? >

[Edited at 2007-02-11 12:19]

Direct link Reply with quote

Heiko Schmieder  Identity Verified
Local time: 20:44
English to German
+ ...
Edit PHP files with Trados (Studio or TagEditor) Issue Nov 19, 2010

I got the same issue that Trados kind of changes code within php files. I tried it with Studio and with TagEditor - every time the PHP was 'damaged' after saving. Example:


After saving with Trados [php code was not touched - only html content]
$bgClass= ($bg Class==& quot; even& quot; ?& quot; odd &qu ot; :& qu ot;eve n& quot;);

I never had problems with translating strings in txt / loc in any file type - but I don't know why Trados changes php code without even opening the coding lines...

Anyone has a solution for that?

Why does Trados add " ? & quot"" and even changes the line formatting [summarizing several code lines into one] - I did not change any default Tag-Settings....



P.S. added spaces to tag / code so its visible in forum

I guess the solution is here - make some changes in the ini file - I try that - but even don't understand why Trados doesn't support php out of the box working properly. Mkay.

[Bearbeitet am 2010-11-19 12:19 GMT]

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 »

php localisation: dtd settings

Advanced search
You’re a freelance translator? helps you manage your daily translation jobs. It’s easy, fast and secure.

How about you start tracking translation jobs and sending invoices in minutes? You can also manage your clients and generate reports about your business activities. So you always keep a clear view on your planning, AND you get a free 30 day trial period!

More info »
SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

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

More info »

All of
  • All of
  • Term search
  • Jobs