Translate theme options with WPML

Discussion in 'BlackBird WordPress Theme' started by permaword, Dec 10, 2012.

  1. permaword

    permaword Member

    Joined:
    Oct 23, 2012
    Messages:
    31
    Likes Received:
    0
    Hi, I use WPML - including string translation - to translate my webpage. The homepage texts (feature texts etc.) do not appear in the strings and I do not see how to translate them.


     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
  3. permaword

    permaword Member

    Joined:
    Oct 23, 2012
    Messages:
    31
    Likes Received:
    0
    Thanks, qtranslate works fine. I am only having problems in translating widget titles. I did download 'widget-logic' and put the following code:

    qtrans_getLanguage()!==’en’

    for widgets to be shown in English, but it still doesn't work. Can you help?
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    There is no need to use 'widget-logic'.
    Simply just add code given below in the widget title

    Code:
    [:en]My English Title[:fr]My French Title
    It will work fine.
     
  5. permaword

    permaword Member

    Joined:
    Oct 23, 2012
    Messages:
    31
    Likes Received:
    0
    Hi, great, works indeed fine!!

    I have 2 related questions:
    - How to translate the 'read more' tags on the homepage? They are in Dutch now and I want to translate them in English for the English homepage.
    - The title of one of the translated childpages does not appear in the navigation-menu in the translated language; on the page itself it has the translated title. The title of the page is "kwaliteitsniveau's" in Dutch and "Quality Levels" in English. See website: www.permacultuuracademie.nl

    Thanks again
     

Share This Page