Skip Navigation

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

Problem:
You are using the User Ranks widget from GamiPress on your site with Elementor Pro and have translated the strings in WPML's String Translation. However, the widget does not translate on the frontend in the secondary language.
Solution:
Elementor Widgets cannot be translated directly using WPML > String Translation. Instead, you need to use the WPML Translation Editor, which by default supports all widgets that come with Elementor and Elementor Pro. Custom Elementor Widgets require an XML configuration to be translatable with the WPML Translation Editor. This configuration should ideally be provided by the plugin author in a

wpml-config.xml

file in the plugin's root directory. You can find a guide on how to register page builder widgets for translation here.
If the plugin author does not provide this configuration, you can create one yourself and store it under WPML > Settings > Custom XML Configuration. Additionally, we offer a program to assist theme and plugin authors in making their widgets compatible, which you can mention to the author: here.
Alternatively, you can use the WordPress Editor as the translation method. Instructions for translating with the WordPress editor can be found here.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues here, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket here.

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 1 reply, has 2 voices.

Last updated by Andreas W. 5 months ago.

Assisted by: Andreas W..

Author Posts
June 13, 2024 at 7:01 pm #15737638

babakB

To Andreas W:
<b>Background of the issue: </b>
I am using a WordPress Widget called User Ranks from GamiPress on my site. I have translated the strings in WPML's String Translation and activated the Auto register strings function.

<b>Symptoms: </b>
The User Ranks widget on the Elementor Pro page does not get translated to the secondary language, even though the strings are translated in String Translation.

<b>Questions: </b>
Why doesn't the User Ranks widget get translated on the frontend?
Is there a specific setting in WPML or Elementor Pro that I need to adjust to ensure the widget gets translated?

June 13, 2024 at 9:07 pm #15737817

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Hello,

Elementor Widgets can not get translated directly with WPML > String Translation. You will need to use the WPML Translation Editor instead.

The WPML Translation Editor by default supports all widgets that are shipped with Elementor and Elementor Pro.

Every Custom Elementor Widget must have an XML configuration so that it can be translated using the WPML Translation Editor.

It is the plugin author's responsibility to create such a configuration in a wpml-config.xml file in the root directory of the plugin.

Guide:
https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/

We also provide the following plugin, which makes creating such a config easier, but we do not recommend using it in a production environment:
https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/

If the author does not provide such a config, you can alternatively create one yourself.
This config can be stored under WPML > Settings > Custom XML Configuration.

We can further offer a WPML test site on which we can recreate the issue and I assist you with a basic configuration for a couple of widgets, but if there are many affected widgets it would be better to reach the author of those widgets.

We offer a program for theme and plugin authors to support them on this matter which you could name as a reference to the author:
https://wpml.org/documentation/support/go-global-program/

---

Alternative: Use the WordPress Editor as the translation method instead.

Instructions for translating with the WordPress editor:
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Best regards
Andreas

June 23, 2024 at 8:32 pm #15797708

babakB

Didn't work but I just won't be using the plugin. Thanks for helping Andreas.