Support » Theme: Brand » Bilingual Slider

  • Hi Max,
    I really liked the theme and thanks for all your help previously.
    My site in 2 languages thai and English and i want the slider (3image slider with text overlay) to have text in thai when the site language is Thai and in English.
    Im using polylang plugin and i have language switcher icon on the right side of header so when i click on english the site language is in English, when i switch to thai it should show everything in thai.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author maxsdesign


    Hi itweb99, it’s a bit tricky but you can.
    Create a new file with a text editor of your choice and name it wpml-config.xml.
    Put this code in it:

        <key name="brand_settings">
        	<key name="brand_slide_title1" />
    	<key name="brand_slide_subtitle1" />
    	<key name="brand_slide_button_text1" />
    	<key name="brand_slide_button_url1" />

    Repeat for every slide you need translation. Remember to change the number.
    Then place the wpml-config.xml file in /wp-content/polylang/ (create the polylang directory if it does not exist).
    Then from your Admin dashboard go to Languages > Strings translations. Here you can find all the sliders text that you saved within the Customizer and can add your own translations.
    Anyway, I’m going to add this file in one of the next updates.

    Hi MAx,
    ifollowed all your steps but it only change the languge of third slider but slider 1 & 2 are stil in english even when i switch to thai.
    Follow this link to see the screenshot

    • This reply was modified 2 years, 2 months ago by  itweb99.
    Theme Author maxsdesign


    can you provide a screenshot of the Strings translations page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bilingual Slider’ is closed to new replies.