Translate sidebar widget content and footer (7 posts)

  1. matodoro
    Posted 2 years ago #


    I am wondering how to translate widget content and the custom footer on this site: http://designcacaofantasie.com/clients/sitasys/en/kontakt/

    I am obviously new to all that so excuse me if this should have been clear.

    I appreciate any help.

    Thank you!


  2. rizwansaleem
    Posted 2 years ago #

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


  3. giscist
    Posted 1 year ago #

    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 ?

  4. matodoro
    Posted 1 year ago #

    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,

  5. matodoro
    Posted 1 year ago #

    Hi rizwansaleem,

    This worked! Thank you so much!

  6. giscist
    Posted 1 year ago #

    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!

  7. matodoro
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic