• Resolved Phil Beckershoff

    (@phil-beckershoff)


    Hallo,

    I would like to have the German text element “Mehr dazu” in the attached code in French as “Lire la suite”. Bloss, with all my previous attempts I failed with [:] or <! -: -> and the respective language codes “de” and “fr”. What am I doing wrong for using it with qTranslate-X? Can you please help me???Here is the PHP code:

    <?php the_excerpt(); ?><span class=”more-link”><span style=”font-family:’FFClanWebProBold’;”>  Mehr dazu</p></span></span>??

    And here is the link to the page:
    https://blog.engie.ch/strategie/fr/category/strategie/

    Many thanks for your help!??
    Greetings from Switzerland?
    Phil Beckershoff (E-Mail)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Phil Beckershoff

    (@phil-beckershoff)

    Sorry, have it. Here my solution:

    <?php the_excerpt(); ?><span class=”more-link”><span style=”font-family:’FFClanWebProBold’;”>  <?php echo __(“[:de]Mehr dazu[:fr]Lire la suite[:]”, TEMPNAME)?></p></span></span>

Viewing 1 replies (of 1 total)
  • The topic ‘qTranslate-X code in PHP code’ is closed to new replies.