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 thread is resolved. Here is a description of the problem and solution.

Problem:
Some WPBakery modules added by the Travelo theme are not available for translation.
Solution:
This XML configuration will make the WPBakery elements added by the theme be available for the translation:

<wpml-config>
    <built-with-page-builder>/\[vc_row\]/</built-with-page-builder>
    <shortcode-list>vc_row,vc_empty_space,vc_separator,vc_column,vc_column_inner,vc_raw_html,vc_column_text,vc_text_separator,vc_message,vc_toggle,vc_tta_accordion,vc_tta_tour,vc_tta_tabs,vc_tta_pageable,vc_tta_section,vc_custom_heading,vc_progress_bar,vc_pie,vc_round_chart,vc_btn,vc_cta,vc_line_chart,vc_single_image,vc_gallery,vc_images_carousel,vc_widget_sidebar,vc_posts_slider,vc_video,vc_gmaps,vc_flickr,vc_wp_search,vc_wp_meta,vc_wp_recentcomments,vc_wp_calendar,vc_wp_pages,vc_wp_tagcloud,vc_wp_custommenu,vc_wp_text,vc_wp_posts,vc_wp_categories,vc_wp_archives,vc_wp_rss,vc_hoverbox,vc_accordion,vc_accordion_tab,vc_basic_grid,vc_button,vc_button2,vc_carousel,vc_cta_button,vc_cta_button2,vc_masonry_grid,vc_masonry_media_grid,vc_media_grid,vc_posts_grid,vc_tab,vc_tabs,vc_tour,vc_tweetmeme,contact-form-7,ult_buttons,ult_countdown,ult_dualbutton,ultimate_exp_section,ultimate_fancytext,icon_counter,ultimate_google_map,ultimate_heading,ultimate_ctation,ult_hotspot_items,icon_timeline_sep,icon_timeline_item,icon_timeline_feat,single_icon,ultimate_img_separator,ult_ihover_item,ultimate_info_banner,bsf-info-box,info_circle_item,info_list_item,info_list_item,ultimate_info_table,interactive_banner_2,interactive_banner,just_icon,ult_createlink,ultimate_icon_list_item,ultimate_modal,ultimate_pricing,stat_counter,swatch_container,swatch_item,ult_tab_element,single_tab,ult_team,ultimate_video_banner</shortcode-list>
    <custom-types>
        <custom-type translate="1">vc_grid_item</custom-type>
    </custom-types>
    <custom-fields>
        <custom-field action="ignore">_vc_post_settings</custom-field>
    </custom-fields>
    <shortcodes>
        <shortcode>
            <tag>vc_column_text</tag>
        </shortcode>
        <shortcode>
            <tag>toggle</tag>
            <attributes>
                <attribute >title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>button</tag>
            <attributes>
                <attribute>link</attribute>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>alert</tag>
            <attributes>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>blockquote</tag>
            <attributes>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>dropcap</tag>
            <attributes>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>testimonials</tag>
            <attributes>
                <attribute >title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>testimonial</tag>
            <attributes>
                <attribute >author_name</attribute>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>icon_box</tag>
            <attributes>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>parallax_block</tag>
            <attributes>
                <attribute >bg_image</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>accommodations</tag>
            <attributes>
                <attribute >title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>tours</tag>
            <attributes>
                <attribute >title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>cars</tag>
            <attributes>
                <attribute >title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>cruises</tag>
            <attributes>
                <attribute >title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>posts</tag>
            <attributes>
                <attribute >title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>person</tag>
            <attributes>
                <attribute >link</attribute>
                <attribute >img_alt</attribute>
                <attribute >twitter</attribute>
                <attribute >googleplus</attribute>
                <attribute >facebook</attribute>
                <attribute >linkedin</attribute>
                <attribute >vimeo</attribute>
                <attribute >flickr</attribute>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>social_links</tag>
            <attributes>
                <attribute >twitter</attribute>
                <attribute >googleplus</attribute>
                <attribute >facebook</attribute>
                <attribute >linkedin</attribute>
                <attribute >vimeo</attribute>
                <attribute >flickr</attribute>
                <attribute >skype</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>bgslider</tag>
            <attributes>
                <attribute >img_urls</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>imageframe</tag>
            <attributes>
                <attribute >title</attribute>
                <attribute >src</attribute>
                <attribute >link</attribute>
                <attribute >label</attribute>
                <attribute >label_content</attribute>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>content_box_detail</tag>
            <attributes>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>content_box_action</tag>
            <attributes>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>promo_box</tag>
            <attributes>
                <attribute >img_alt</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>team_member</tag>
            <attributes>
                <attribute >name</attribute>
                <attribute >job</attribute>
                <attribute >desc</attribute>
                <attribute encoding="allow_html_tags">content</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>pricing_table_vc</tag>
            <attributes>
                <attribute >title</attribute>
                <attribute >sub_title</attribute>
                <attribute >price</attribute>
                <attribute >unit_text</attribute>
                <attribute >description</attribute>
                <attribute encoding="allow_html_tags">content</attribute>
                <attribute >btn_title</attribute>
                <attribute >btn_url</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

Tagged: 

This topic contains 14 replies, has 2 voices.

Last updated by Julian 2 months, 2 weeks ago.

Assigned support staff: Radu.

Author Posts
July 25, 2019 at 10:44 am #4281913

Julian

I am trying to:

Link to a page where the issue can be seen:
hidden link

I expected to see:
hidden link
Instead, I got:
Missing the "Dropcap" section of the page

July 25, 2019 at 11:14 am #4282369

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey Julian,

Thank you for reaching out the WPML support!

Can you give me access to the dashboard area so I can have a closer look at this and see why is the translation of the tour not working in Spanish, please?
The next message is set to be private so you can safely send me the credentials.

Thanks,
Radu

July 25, 2019 at 8:46 pm #4285981

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey Julian,

Can you edit the Czech translation of this tour: hidden link, make sure that you add the translation to all the fields, check the Translation is complete boxes (until the progress at the bottom of the page is at 100%), hit the Save & Close button, please? Once you did that, make a little change to the original tour (like adding one more point at the end of a paragraph, for example) and try to edit the Czech translation. Is the text from the Dropcap available for translation now? Please try this out and tell me how it works.

Thanks,
Radu

July 26, 2019 at 9:28 am #4288631

Julian

Hello Radu,

I followed your instructions and yes, the edit for the drop cap appeared. My question now is: Do I have to do this process for every page (Tour) I have? Is there a script solution for this, so the Dropcap is there when I am working on the translations?

Thanks for your help.

July 26, 2019 at 1:31 pm #4289933

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey Julian,

The dropcap field will be available for translation for the new tours you'll add from now on. However, you'll need to do this little check to see if the page is 100% translated, make a little change to the tour (so the WPML plugin can "see" that there's a change to the tour and scan its content again), and then add the translation for the dropcap. I looked for an easier option to do this but I'm afraid that this is the only way to edit the existing tours.

Thanks,
Radu

July 26, 2019 at 3:33 pm #4290447

Julian

Ok, I understand, thanks for your help, can I ask an off-topic question here?

If yes, can you please let me know why the main image of the pages is not showing? (See image)

Same links, thanks...

July 28, 2019 at 8:57 am #4295185

Julian

Hello Radu,

Tried the same process with the home page (hidden link), fully translated to Czech, but there are missing parts of the page in the translation page (please see the images). Mostly "Icon boxes". Can you please let me know how can I fix this?

Thanks

July 28, 2019 at 8:59 am #4295259

Julian

I think the problem is persistent with the theme elements... Please let me know your thoughts.

July 29, 2019 at 12:37 pm #4299637

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey Julian,

Since the Travelo theme that you're using is not 100% compatible with WPML, the custom WPBakery modules added by it might have some issues, as you mentioned.
I just had a quick look at the Czech version of the homepage (hidden link) and I could see that the icons are looking fine but the text is still not translated. As I can see, there are still a few elements that are not translated and for that you'll need to add some custom XML config, as I did for the dropcap module. Here's an article where you can find details about how you can create this for the modules used by your theme: https://wpml.org/documentation/support/maintaining-wpbakery-page-builder-compatibility-with-wpml/#page-builder-shortcode-structure-in-the-language-configuration-file. Please try to create the code, add it to Dashboard → WPML → Settings → Custom XML Configuration tab, and tell me how things work this time.

Thanks,
Radu

July 29, 2019 at 1:39 pm #4300361

Julian

Hello Radu, thanks for your response, I made a few tests and indeed it worked. So I'm working now on the rest of the elements. Thanks.

About the first question... the images? Do you have an idea why it is not showing? Could it be the same, because this sidebar widget is from the theme as well.

Thanks again.

July 30, 2019 at 5:10 am #4304745

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey Julian,

Could you give me some more details about these missing images, please? I checked the homepage, and the icons and images are visible on the translated page. Maybe you can attach a screenshot with the part that's missing the images, or maybe I should check a different page. I just need a few more details about this.

Thanks,
Radu

July 30, 2019 at 7:06 am #4305103

Julian

Hi Radu!

The reply is on top, it is the reply: #4290447. Please scroll up a little bit.

This is one example: hidden link

Please see the sidebar, and the footer, both are the same widget.

Thanks

July 30, 2019 at 11:16 am #4307139

Radu
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hey Julian,

Thank you for sharing a bigger screenshot of this element.

I edited the original version of that tour (hidden link) and I could see that the Duplicate featured image to translations option from the right sidebar was unchecked. I checked it, updated the tour, but the featured image is still not available. As I can see, you're using caching on your website. Can you deactivate it for a little so I can make sure that the tours are not cached and that this is the reason why the option doesn't have any effect, please?

Thanks,
Radu

July 30, 2019 at 12:06 pm #4307537

Julian

Hello Radu,

Thanks for everything, I think the new XML did the trick. What I did is deleted completely the translation and made it again and the image is there. I added the translation for another tour and the image is there as well.

So, the problem is gone. By the way, I got the XML from the theme's developer, and it worked wonderfully.

Thanks again.

July 30, 2019 at 12:07 pm #4307539

Julian

My issue is resolved now. Thank you!