You are currently working on UAT 

60 PHP files

Hi community,

I've read posts about php files, i've tried to create a new type, then I tested it, simulate a translation, exported the translation but there was still a lot of French text in the final .php. 

Then, i noticed that the text to translate is not always between the same tags. 

How should I proceed to have all the text (without tags and other) imported in SDL? 

I'm quite desperate! 

Thanks a lot for your help,

Sophie 

Parents Reply
  • Thank you for the files you just sent me.  In my opinion you really need to emply a localization engineer to prepare these files for you properly.  Most of the content seems to be html chunks embedded into the php and a localization engineer would be able to prepare these files for translation using the html filetype, and what's left with a simple regex based filetype, then put them back together again afterwards.

    If you try to do this all with a regex based filetype you're asking for problems. You can get there... so using these for the structure for example (and this is incomplete):

    And then with some inline rules to exclude stuff you don't want... maybe this sort of thing for example:

    This starts to take some shape, but it needs you to understand what you're doing and build on this.

    But really... you should employ a localization engineer to manage this process for you as the results will be more reliable and they'll scale.

    Paul Filkin | RWS

    Design your own training!
    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 2:41 PM (GMT 0) on 1 Mar 2024]
Children