Passer au contenu Passer à la barre latérale

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

Problème :
Vous développez votre site web avec Divi et avez créé une section en utilisant un plugin appelé Divi Sensei Timeline. WPML ne semble pas reconnaître cette section, et sur la page en anglais, le texte est resté en français.
Solution :
Chaque module de constructeur de page nécessite une configuration XML pour que WPML puisse le traduire avec l'éditeur de traduction WPML. Il est probable que l'auteur de ce module n'ait pas créé une telle configuration. Nous expliquons comment créer cette configuration ici.

Vous pouvez ajouter la configuration suivante dans WPML > Paramètres > Configuration XML personnalisée :

<wpml-config>
    <shortcodes>
    <shortcode>
        <tag>ds_timeline_item</tag>
        <attributes>
          <attribute>ribbon</attribute>
          <attribute>title</attribute>
          <attribute>button_text</attribute>
          <attribute>button_url</attribute>
          <attribute>title_text</attribute>
          <attribute>image</attribute>
        </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

Ensuite, éditez le widget sur le contenu original et sauvegardez la page à nouveau. Si vous ouvrez maintenant l'éditeur de traduction WPML, vous devriez être capable de traduire tous les textes du widget.

Nous vous suggérons de signaler ce problème à l'auteur de ce plugin.

Si cette solution ne s'applique pas à votre cas, car elle pourrait être obsolète ou inappropriée, nous vous recommandons vivement de vérifier les problèmes connus sur https://wpml.org/known-issues/, de vérifier la version de la correction permanente et de confirmer que vous avez installé les dernières versions des thèmes et plugins. Si le problème persiste, n'hésitez pas à ouvrir un nouveau ticket de support sur notre forum de support.

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.

Marqué : 

Ce sujet contient 3 réponses, a 0 voices.

Dernière mise à jour par Andreas W. Il y a 1 semaine et 1 jour.

Assisté par: Andreas W..

Auteur Messages
Septembre 13, 2025 à 7:14 pm #17399494

catherineL-15

Contexte de la question:
I am developing my website with Divi and created a section using a Divi plugin called Divi Sensei Timeline (lien caché). WPML doesn't seem to recognize that section, and on the English page, the text has remained in French. The issue can be seen on this page: lien caché.

Symptômes:
Some text on the English page remained in French instead of being translated to English.

Questions:
Why doesn't WPML recognize the section created with Divi Sensei Timeline?
How can I ensure the text is translated to English on the English page?

Septembre 14, 2025 à 9:43 am #17399770

Andreas W.
Partisan de WPML depuis 12/2018

Les langues: Anglais (English ) Espagnol (Español ) Allemand (Deutsch )

Fuseau horaire: America/Lima (GMT-05:00)

Hello,

Each page builder module needs an XML configuration for WPML so that it can be translatable with the WPML Translation Editor.

Likely, the author of this module has not created such a config. We explain how to create such a config here:
https://wpml.org/documentation/support/maintaining-divi-builder-compatibility-wpml/

I can offer to assist you on this matter. For this purpose, please install "Divi Sensei Timeline" on the following sandbox and leave me a comment once you are done with this task:

One-Click-Login:
lien caché

Best regards
Andreas

Septembre 14, 2025 à 1:18 pm #17399953

catherineL-15

Thank you for your help with this!

I just installed the plugin in your sandbox.

Thanks again!

Catherine

Septembre 16, 2025 à 7:41 pm #17407644

Andreas W.
Partisan de WPML depuis 12/2018

Les langues: Anglais (English ) Espagnol (Español ) Allemand (Deutsch )

Fuseau horaire: America/Lima (GMT-05:00)

I see the widgets are partly translatable, but the author does not provide a complete config for the entire module.

You can save the following config at WPML > Settings > Custom XML Configuration:

<wpml-config>
	<shortcodes>
  	<shortcode>
    	<tag>ds_timeline_item</tag>
      	<attributes>
          <attribute>ribbon</attribute>
          <attribute>title</attribute>
          <attribute>button_text</attribute>
          <attribute>button_url</attribute>
          <attribute>title_text</attribute>
          <attribute>image</attribute>
        </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

Now, edit the widget on the original content and save the page again. If you now open the WPML Translation Editor, you should be able to translate all texts of the widget (including Ribbon Text, Button Text, and Button URL).

I suggest you report this issue to the author of this plugin.