This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by shlomoY 12 months ago.

Assigned support staff: Yvette.

Author Posts
October 16, 2018 at 8:30 am #2820096

shlomoY

Hi,

My site is in Hebrew and currently being translated to English.
I'm using Patti WP theme (hidden link) with latest WPML plugins.

I've created a page with visual composer and trying to add translation according to your user guide ('+' button in pages).

The problem is, that some of the vc elements do not appear in translations fields (see example below).

here's a simple example for reproducing this issue:

page content:

[vc_row full_height="yes"][vc_column][vc_row_inner][vc_column_inner][dt-section-title title="כותרת" subtitle="כותרת2"][vc_column_text]טקסט[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row]

see below page translation: section title is not translatable.

I googled for help on this issue and found a similar problem and solution for The7 WP theme.

https://wpml.org/forums/topic/visual-composer-elements/

WPML support offers changing wpml-config.xml in theme folder. However, it seems like Patti has different structure for config file.

Any idea how to solve this issue?

Thanks

October 17, 2018 at 5:46 pm #2825564

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello

Please try adding the following lines to your XML Custom Configuration tab here:
WPML -> Settings -> XML Custom Configuraton

<wpml-config>
     <shortcodes>
            <shortcode>
            <tag>dt-section-title</tag>
            <attributes>
                <attribute>title</attribute>
            </attributes>
        </shortcode>
        </shortcodes>
</wpml-config>

Then make a change in the page content (add an extra space...anything will do) and see if the tranlsation editor will now pick up the shortcode.

Please let me know if this works for you.

October 18, 2018 at 2:10 pm #2828223

shlomoY

My issue is resolved now. Thank you!