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
  • Hi there, 

    I'm progressing but I still meet problems. 

    For the moment, I have this one:

    'title' =>'ICO',
    'p' => [
    "Das Akronym für INITIAL COIN OFFER (Initial Money Offer) ist eine Fundraising-Methode im Bereich der Kryptomik. Ähnlich wie bei einem Börsengang mit einem wesentlichen Unterschied, jedoch ohne Regulierung durch eine zentrale Behörde.",
    'Ce procédé permet principalement le financement de projets liés à la technologie blockchain via une collecte de fonds en cryptomonnaie. La volatilité accrue de ces actifs est liée à l’état embryonnaire des projets, dont le succès potentiel est évalué par la légitimité et la notoriété des membres de l’équipe technique combiné à la qualité du White Paper.'

    The first part is translated, and not the second. I don't understand because there is in the rule 

    beginning    '

    ending     .'

    Screenshot of Trados Studio showing a table with columns labeled 'Modele d'ouverture', 'Modele de fermeture', and 'Multiligne'. The 'Modele d'ouverture' column contains the text '.*>s*>*'. The 'Modele de fermeture' column is empty, and the 'Multiligne' column has the word 'Faux' indicating false..

    Why wasn't it extracted? 

    What's wrong with my definition?

    Thanks for your help,

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 7:16 PM (GMT 0) on 28 Feb 2024]
  • Do you understand correctly the role of square brackets in regular expressions?
    It doesn't mean a sequence of characters! It means a single character from those listed inside the brackets...

    So to me it looks like your closing rules are just plain incorrect.

Reply Children