php localisation: dtd settings
Penyiaran jaluran : Aspena
Aspena
Aspena
Republik Czech
Local time: 02:44
Bahasa Jerman hingga Bahasa 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!

Michal.


 
SysfilterMaker
SysfilterMaker
Jerman
Local time: 02: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

Regards

W. Polmann
www.ecm-e.de


 
Spiros Doikas
Spiros Doikas  Identity Verified
Local time: 03:44
Ahli (2002)
Bahasa Inggeris hingga Bahasa 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]


 
Heiko Schmieder (X)
Heiko Schmieder (X)  Identity Verified
Jerman
Local time: 02:44
Bahasa Inggeris hingga Bahasa Jerman
+ ...
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:


Original
$bgClass=($bgClass=="even"?"odd":"even");

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
... See more
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:


Original
$bgClass=($bgClass=="even"?"odd":"even");

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....




Thanks,

Heiko



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



-----
added
I guess the solution is here http://www.proz.com/forum/sdl_trados_support/152210-translating_website_in_php.html - 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]
▲ Collapse


 


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






Pastey
Your smart companion app

Pastey is an innovative desktop application that bridges the gap between human expertise and artificial intelligence. With intuitive keyboard shortcuts, Pastey transforms your source text into AI-powered draft translations.

Find out more »
LinguaCore
AI Translation at Your Fingertips

The underlying LLM technology of LinguaCore offers AI translations of unprecedented quality. Quick and simple. Add a human linguistic review at the end for expert-level quality at a fraction of the cost and time.

More info »