• Resolved disertamin

    (@disertamin)


    Hi,
    I am trying to create multi language site using this theme and polylang plugin. I have issues translating the home page content holders and slider. Is this possible? Do you have prepeared wpml-config.xml file.

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • WEN Solutions

    (@wen-solutions)

    Try by creating pot file.
    Find the method on Youtube also.

    If you have further query feel free to ask, thanks

    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

    WEN Solutions

    (@wen-solutions)

    Content of Slider is not added from backend? Would you please give me the link of your site?

    Thread Starter disertamin

    (@disertamin)

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

    WEN Solutions

    (@wen-solutions)

    If the content of slider is added from backend, add the translated content there. Content will not translate itself, you have to write the translated content there.
    Is your site is multisite?

    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)

    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>

    disertamin

    you are the MAN!!!

    One question please.
    How to replicate home page template to other inner pages
    is any option ?

    thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Home page translation’ is closed to new replies.