Viewing 6 replies - 1 through 6 (of 6 total)
  • You can translate the widget and custom footer content by using the following pattern:

    [:de]text[:en]text

    Hi matodoro,
    I am currently struggling with my language selector and saw on your site that you got to a super-nice result. Could you let me know how you did it ?

    Thread Starter matodoro

    (@matodoro)

    Hi giscist,

    Thank you for the compliment.
    I created a new header template and put it into my child folder, then I put the following code where I wanted it to appear:

    <?php echo qtrans_generateLanguageSelectCode(‘text’); ?>

    And then the styling…

    Hope that helps,

    Thread Starter matodoro

    (@matodoro)

    Hi rizwansaleem,

    This worked! Thank you so much!

    Thank you for your trick.
    Could you tell me a bit more about your styling?
    I am struggling with it, not knowing how to word and where to put (I have very very small knowledge of all these things).
    As you did, I would like to differentiate the current language of the page and the other (or even hide the current language).
    And also : hide the other language when there is no translation…
    Thank you in advance!

    Thread Starter matodoro

    (@matodoro)

    Install inspect element on chrome or firefox. Then you can see how I styled them.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Translate sidebar widget content and footer’ is closed to new replies.