Passer la navigation

Ce sujet est résolu. Voici une description du problème et de la solution.

Problem:
If you're experiencing issues with translating the Accordion Element content in Elementor using WPML, and you need an XML snippet to include in your translations.
Solution:
We recommend you follow these steps:
1. Add the following XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config>
  <elementor-widgets>
    <widget name="rkit_advanced_heading">
      <fields>
        <field>text</field>
      </fields>
    </widget>
    <widget name="rkit-accordion">
      <fields-in-item items_of="list_items">
        <field>accordion_title</field>
        <field>item_description</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

2. Open the default language page in Edit mode.
3. Make a small change, such as adding a space or a '+' sign in the page title where you are facing issues.
4. Save the page.
5. Remove the small change made in step 3.
6. Update the page again.
7. Try to translate the page using WPML Translation Editor and check if you can now translate the Accordion Element content.
For more details, visit our documentation on registering custom Elementor widgets for translation.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Ce sujet contient 1 réponse, a 0 voix.

Dernière mise à jour par Noman Il y a 1 semaine et 4 jours.

Assisté par: Noman.

Auteur Messages
juin 1, 2025 à 9:30 am #17095066

enzoA-2

Hi,

For the FAQ field that also uses the same widget, would you have an XML snippet I could use to include it in the translations? I’ve attached the screenshot below.

lien caché

Best,
Enzo

17092341-Verif_Ticket_Google_Chrome.jpg
juin 1, 2025 à 10:20 am #17095118

Noman
Partisan de WPML depuis 06/2016

Les langues: Anglais (English )

Fuseau horaire: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. Could you please try to follow the below steps and see if this resolves the issue:

1. Add the below XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config>
  <elementor-widgets>
    <widget name="rkit_advanced_heading">
      <fields>
        <field>text</field>
      </fields>
    </widget>
    <widget name="rkit-accordion">
      <fields-in-item items_of="list_items">
        <field>accordion_title</field>
        <field>item_description</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

2. Open the default language page in Edit mode.
3. Make a small change, for example, add a space or + sign in page title in which you are facing issues.
4. Save the page.
5. Now, please remove that small change that did in step #3.
6. Update the page again.
7. Now, please try to translate the page using WPML Translation Editor and see now you are able to translate the Accordion Element content.

Here is a doc for more details:
https://wpml.org/documentation/support/multilingual-tools/registering-custom-elementor-widgets-for-translation/

Please let me know if this resolves the issue or if you need further assistance with this issue.

Thank you