Question

I'm trying to add wpml-config.xml in root directory of my theme. File has only one option:

<wpml-config>
    <custom-field action="translate">block_1</custom-field>
</wpml-config>

enter image description here

But no mater what I do options are not checked in Translation management (check image above). What am I missing here?

Was it helpful?

Solution

It's missing the main option key. It should be:

<wpml-config>
    <custom-fields> 
        <custom-field action="translate">block_1</custom-field>
    </custom-fields>
</wpml-config>

More info about WPML Language Configuration Files here:

http://wpml.org/documentation/support/language-configuration-files/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top