Support » Plugin: qTranslate » Translate sidebar widget content and footer

Viewing 6 replies - 1 through 6 (of 6 total)
  • rizwansaleem


    You can translate the widget and custom footer content by using the following pattern:


    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 ?

    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,

    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!

    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.