Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+03:00)

This topic contains 3 replies, has 2 voices.

Last updated by Osama Mersal 21 hours, 29 minutes ago.

Assisted by: Osama Mersal.

Author Posts
September 26, 2024 at 5:30 am #16223012

yuanL-2

Some WP Bakery blocks are not translating, For example on this page, hidden link you can see the blocks having the French content while page language is English.

The content from these blocks also does not appear in translation editor.

Site default language is French.

Note: In the parent ticket, a CW test site was prepared which can be used to investigate the problem.

Screenshot 2024-09-26 103457.jpg
Screenshot 2024-09-26 103437.jpg
Screenshot 2024-09-26 103418.jpg
Screenshot 2024-09-26 103354.jpg
Screenshot 2024-09-26 103318.jpg
September 26, 2024 at 7:05 am #16223226

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) The post in the dashboard doesn't show the WP Bakery editor, so please check that and let me know if you can see it correctly.

2) The problematic modules might need to be registered for translation. Kindly check the following guides:

1- https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/

2- https://wpml.org/documentation/support/language-configuration-files/register-page-builder-content-for-translation/

Best regards,
Osama

September 27, 2024 at 5:24 am #16228054

yuanL-2

I did not mentioned that it is in WP Bakery, your support person is saying that only.

September 29, 2024 at 7:50 am #16232818

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

1) Sorry for the late reply deu to the weekend. I checked the post, and there are some WP Bakery shortcodes. (Kindly check this hidden link">screenshot)

2) I enabled the WP Bakery builder for posts and added the following XML to WPML-> Settings-> Custom XML tab.

<wpml-config>
  <shortcodes>
    <shortcode>
        <tag>vc_message</tag>
    </shortcode>
    <shortcode>
        <tag>vc_text_separator</tag>
        <attributes>
            <attribute>title</attribute>
        </attributes>
       </shortcode>
          <shortcode>
        <tag>vc_tta_accordion</tag>
        <attributes>
            <attribute>title</attribute>
        </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

After that, I updated the page and its translation, which made the module content appear in the translation editor.

Please check this hidden link">post, register the untranslated modules, and then update the post in the default language along with its translation.

Best regards,
Osama