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]
  • Two things probably:

    1. You have not accounted for the [ opening bracket before the traslatable text

    2. It's probably multiline

    But I can't really check because this is not in the sample file I have.

    I also don't know what the second and third rule are supposed to do?

    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

  • I think i've found why. I have the impression that the system considers [.'] and [.',] as the same and [.',] was restrictive, then [.'] was never extracted. This one is solved. 

    Now, I can't find the right codage for this

    meta name='twitter:description' content='Keplerk vous permet d’obtenir du bitcoin près de chez vous comme vous le souhaitez dans la transparence, la confiance et la sécurité • Votre wallet cryptomonnaie est OFFERT à vie ! • Une application, un service client à votre écoute, découvrez vite Keplerk et son achat simplifié de Bitcoin.'>
    <meta name='twitter:app:name:iphone' content='Keplerk'>
    <meta name='twitter:app:id:iphone' content='1455111585'>
    <meta name='twitter:app:name:ipad' content='Keplerk'>
    <meta name='twitter:app:id:ipad' content=''>
    <meta name='twitter:app:name:googleplay' content='Keplerk'>
    <meta name='twitter:app:id:googleplay' content='com.Effitek.quovadev.keplerk'>
    <meta name='twitter:app:country' content='FR'>",
    'openGraph' => "<meta property='og:type' content='business.business'>
    <meta property='og:title' content='Keplerk - Acheter du bitcoin en cash près de chez vous'>
    <meta property='og:url' content='www.keplerk.com/.../'>
    <meta property='og:image' content='www.keplerk.com/.../Keplerk_home.png'>
    <meta property='business:contact_data:street_address' content='17 Chaussée de la Muette'>
    <meta property='business:contact_data:locality' content='Paris'>
    <meta property='business:contact_data:region' content='île de france'>
    <meta property='business:contact_data:postal_code' content='75016'>
    <meta property='business:contact_data:country_name' content='France'>"

     

    I've tried

    begin   [content=']     end ['>]    but doesn't work

    As these are meta, they probably don't need to be translated. i'll ask the client. 

Reply
  • I think i've found why. I have the impression that the system considers [.'] and [.',] as the same and [.',] was restrictive, then [.'] was never extracted. This one is solved. 

    Now, I can't find the right codage for this

    meta name='twitter:description' content='Keplerk vous permet d’obtenir du bitcoin près de chez vous comme vous le souhaitez dans la transparence, la confiance et la sécurité • Votre wallet cryptomonnaie est OFFERT à vie ! • Une application, un service client à votre écoute, découvrez vite Keplerk et son achat simplifié de Bitcoin.'>
    <meta name='twitter:app:name:iphone' content='Keplerk'>
    <meta name='twitter:app:id:iphone' content='1455111585'>
    <meta name='twitter:app:name:ipad' content='Keplerk'>
    <meta name='twitter:app:id:ipad' content=''>
    <meta name='twitter:app:name:googleplay' content='Keplerk'>
    <meta name='twitter:app:id:googleplay' content='com.Effitek.quovadev.keplerk'>
    <meta name='twitter:app:country' content='FR'>",
    'openGraph' => "<meta property='og:type' content='business.business'>
    <meta property='og:title' content='Keplerk - Acheter du bitcoin en cash près de chez vous'>
    <meta property='og:url' content='www.keplerk.com/.../'>
    <meta property='og:image' content='www.keplerk.com/.../Keplerk_home.png'>
    <meta property='business:contact_data:street_address' content='17 Chaussée de la Muette'>
    <meta property='business:contact_data:locality' content='Paris'>
    <meta property='business:contact_data:region' content='île de france'>
    <meta property='business:contact_data:postal_code' content='75016'>
    <meta property='business:contact_data:country_name' content='France'>"

     

    I've tried

    begin   [content=']     end ['>]    but doesn't work

    As these are meta, they probably don't need to be translated. i'll ask the client. 

Children