Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is unable to translate the title of a WP Bakery Custom Widget using the WPML's Advanced Translator.

Solution:
For this Custom Widget, we provided a custom XML configuration to make the titles translatable:

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

You can learn how to create such a config in our documentation on language configuration files.

We also recommend informing the theme author about this compatibility issue. The theme author can join our Go Global Program to work on making the theme fully compatible with WPML.

If this solution doesn't look relevant, please open a new support ticket.

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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Andreas W. 1 year ago.

Assisted by: Andreas W..

Author Posts
November 9, 2023 at 11:14 am #14765223

sbsP

Hi,

I'm trying to translate the content (title) of a block that is inside an element holder (eltdf-iwt-title) on each product page (example: hidden link) .

The advanced translator cannot detect this content even when searching for the text or the element designation (eltdf-iwt-title).

How can I translate these titles (the words are Dimensions, Poids and Surface Au Sol; images attached)?

What i'm using:
- Theme - Ambient;
- Page Bluider - Wpbakery;
- Element holder (from theme) - Elated (Element holder > Elated Icon With Text);
- Main language - French (secondary EN, PT and ES).

Website: hidden link
A protuct page: hidden link

I think I can translate directly into each language this 3 words (using the WordPress Editor instead WPML Translation Editor) but I wanted to ask if there is a faster and more direct way to translate.

Thanks

advanced- translator-search-by-element.jpg
advanced- translator-search-by-text.jpg
print-elated-icon-with-text-in-edit-page.jpg
print-product-page.jpg
November 9, 2023 at 1:53 pm #14767693

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

In order to make page builder widgets translatable with the WPML Translation Editor it requires a XML config for each widget:

https://wpml.org/documentation/support/language-configuration-files/#page-builder-content

We do cover the default widgets from WPBakery but custom widgets, that are shipped with a theme or other plugins need to include a wpml-config.xml file with a respective config for each widget.

The creation of such a config is the responsibility of the plugin author.

I can offer to take a look at your site and create a config for the widget in question so that we can test if it works as expected, but take note, that I will not be able to create a config for all the widgets that are shipped with the theme.

I need temporary access as an admin user to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

Providing FTP access is not mandatory in this case.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

Best regards
Andreas

November 10, 2023 at 5:24 pm #14779585

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

First I have adjusted the WP Memory Limit inside the wp-config.php to 256M, as Elementor and WPML need at least 128M and the site was still running on the default value of 40M.

For the icon texts, I created the following XML config:

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

How to create such a config is explained here:
https://wpml.org/documentation/support/language-configuration-files/#page-builder-content

Take note, that the author of the theme sells it currently as WPML compatible, but it seems not be 100% compatible:
hidden link

I would suggest that you inform the theme author about this issue. The author can join our Go Global Program, in case there is an interest in making the theme compatible with WPML:

https://wpml.org/documentation/support/go-global-program/

Best regards
Andreas