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.

This topic contains 3 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 1 month ago.

Assisted by: Osama Mersal.

Author Posts
October 10, 2023 at 1:53 pm #14550873

olgaS-13

Tell us what you are trying to do?

I created some tables for technical data with Divi-Modules Table Maker.

I would like to have the content translated, but the contained texts do not show up in the translation editor.

Is there any documentation that you are following?

I read this support ticket and tried to use its findings:

https://wpml.org/forums/topic/translate-content-in-database-from-table-maker-plugin/

I added the mentioned segment to WPML > Settings > User defined XML Configuration

<wpml-config>
<shortcodes>
<shortcode>
<tag>dvmd_table_maker_item</tag>
<attributes>
<attribute>col_label</attribute>
<attribute encoding="allow_html_tags">col_content</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

But the text from the tables still does not show up in the pages' translation editor.

I also read this article:

https://wpml.org/documentation/translating-your-contents/page-builders/how-to-register-page-builder-modules-and-theme-options/

But when I try to switch to classic mode, DIVI tells me this will loose all information edited with the DIVI editor / theme.

Is there a similar example that we can see?

I provided login information to this test system with my other active ticket.

Let me know if you need the details again.

What is the link to your site?

hidden link

hidden link

are 2 pages with tables that cannot be translated (there are more on the site).

October 11, 2023 at 7:41 am #14555951

Osama Mersal
Supporter

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

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

Hi,

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

Please login to this sandbox site and install the "Divi-Modules – Table Maker" plugin. (hidden link)

After that, please create a test page containing the table module and translate it to replicate the issue.

If the issue is replicable, please let me know how to reproduce it.

Best regards,
Osama

October 11, 2023 at 10:14 am #14558127

olgaS-13

Hi,

I installed the table maker plugin to your testsite and ex-/imported 2 example tables to a new page.

hidden link

If I try to translate the page, none of the texts of the table show up (see image).

hidden link

For whatever reason, it says "94 segments", but I can only see 1...

Bildschirmfoto 2023-10-11 um 12.13.11.png
October 11, 2023 at 10:19 am #14558211

Osama Mersal
Supporter

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

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

Hi,

Thanks for replicating the issue. The mentioned XML code fixed the issue.

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>dvmd_table_maker_item</tag>
      <attributes>
        <attribute>col_label</attribute>
        <attribute encoding="allow_html_tags">col_content</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

Please check if it works correctly on the sandbox site.

Kindly note that you need to update the page in the default language after adding the code to the WPML-> Settings-> XML tab in order to see the segments.

Best regards,
Osama

October 11, 2023 at 10:29 am #14558337

olgaS-13

This was the critical information:

Kindly note that you need to update the page in the default language after adding the code to the WPML-> Settings-> XML tab in order to see the segments.

Thanks for your help!