Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter disertamin

    (@disertamin)

    I found a solution. The bellow wpml-config.xml does the trick. It should be copied to the theme root directory.

    <wpml-config>
    	<admin-texts>
            <key name="thinkup_redux_variables">
    
            <key name="thinkup_homepage_sliderpreset">
    			<key name="0">
    				<key name="slide_title" />
                    		<key name="slide_description" />
                    		<key name="slide_url" />
    			</key>
    			<key name="1">
    				<key name="slide_title" />
                    		<key name="slide_description" />
                    		<key name="slide_url" />
    			</key>
    			<key name="2">
    				<key name="slide_title" />
                    		<key name="slide_description" />
                    		<key name="slide_url" />
    		</key>
    		</key>
    		<key name="thinkup_general_sitetitle" />
    		<key name="thinkup_general_sitedescription" />
    		<key name="thinkup_homepage_section1_title" />
    		<key name="thinkup_homepage_section1_desc" />
    		<key name="thinkup_homepage_section2_title" />
    		<key name="thinkup_homepage_section2_desc" />
    		<key name="thinkup_homepage_section3_title" />
    		<key name="thinkup_homepage_section3_desc" />
    
    	    </key>
    
        </admin-texts>
    </wpml-config>

    Thread Starter disertamin

    (@disertamin)

    The site is not multisite, I didn’t wanted to implement it as multisite. That’s why I am using polylang plugin and I was asking if this theme has prepared wpml-config.xml file(comming from wpml translation plugin but also used by polylang). I tried to create one myself and I can see the content strings as translatable strings in the polylang but the translation is not showing on the site when switching language.

    Thread Starter disertamin

    (@disertamin)

    Yes, it is added from backend. Site is https://www.msdent.cz.

    Thread Starter disertamin

    (@disertamin)

    I have tried that, it translates most of the theme but this method still doesn’t translate the slider content and the content in the predefined content holders. I want users to be able to switch between two languages (ex. EN and DE) and have the homepage in both languages.
    Maybe I’m missing something with the .po .mo files?
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)