Quantcast
Viewing all articles
Browse latest Browse all 11471

Chrystl on "polylang onetone theme compatibility"

Hello

You need to create a wpml-config.xml file like explain here
http://polylang.wordpress.com/documentation/documentation-for-developers/the-wpml-language-configuration-file/

You need just the 'admin_texts' part. In Onetone Options > tab Home Page you have 6 sections. Each section has 6 items that can be translate. I give you an example for the Section 1 and Section 2:

<wpml-config>
    <admin-texts>
        <key name="onetone">
        <key name="menu_title_0"/>
        <key name="menu_title_1"/>
	<key name="section_background_0"/>
        <key name="section_background_1"/>
	<key name="section_background_video_0"/>
        <key name="section_background_video_1"/>
	<key name="section_css_class_0"/>
        <key name="section_css_class_1"/>
	<key name="section_content_0"/>
        <key name="section_content_1"/>
	<key name="menu_slug_0"/>
        <key name="menu_slug_1"/>
        </key>
    </admin-texts>
</wpml-config>

You should put your file in /wp-content/polylang/ (create the folder if it does not exist). Like this your file won't be crash at the next update.
I didn't test, but it should work.


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>