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.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| - | 10:00 – 14:00 | 10:00 – 14:00 | 10:00 – 14:00 | 10:00 – 14:00 | 10:00 – 14:00 | - |
| - | - | - | - | - | - | - |
Fuseau horaire du support : Asia/Kolkata (GMT+05:30)
Marqué : Compatibility
Ce sujet contient 16 réponses, a 0 voix.
Dernière mise à jour par Sumit Singh Il y a 1 jour et 14 heures.
Assisté par: Sumit Singh.
| Auteur | Messages |
|---|---|
| Novembre 25, 2025 à 9:46 am #17607204 | |
|
delvartS |
Background of the issue: Symptoms: Questions: |
| Novembre 26, 2025 à 3:59 pm #17612829 | |
|
Ilyes Supporter
Les langues: Anglais (English ) Français (Français ) Arabe (العربية ) Fuseau horaire: Pacific/Easter (GMT-05:00) |
Bonjour, Merci d'avoir contacté l'équipe d'assistance WPML. Avant de déboguer le code du widget, je vous suggère de vérifier d'abord si l'URL s'affiche lorsque vous la recherchez dans la barre de recherche supérieure. Recherchez "http" ici : lien caché Si elle n'apparaît pas, cliquez sur l'icône d'engrenage pour ouvrir les paramètres de l'éditeur et activez les options suivantes : lien caché Actualisez ensuite l'éditeur et voyez si cela change quelque chose. Si cela ne vous aide pas, veuillez partager un accès à votre site ci-dessous. Je créerai alors une nouvelle page de test avec ce widget et vous guiderai pour reproduire le problème s'il n'est pas évident. |
| décembre 4, 2025 à 4:05 pm #17635321 | |
|
delvartS |
Bonjour, je pense que le probleme est que, comme les liens ne sont pas visibles, le traducteur ne le traduis pas donc la traduction est vide et il laisse mon url en français. J'ai deux url sur une même page qui vient du meme widget elementor, l'un est visible est traduis par valeur en français et donc deviens en anglais à l'affichage. Mais l'autre n'est pas traduis et du coup il garde son url français de base. Les paramètres sont bien comme indiqués. Du coup je pense qu'il faut que les liens soient visible tout le temps, car il est difficile de demander au traducteur d'aller faire une recherche sur http |
| décembre 4, 2025 à 9:56 pm #17636265 | |
|
Ilyes Supporter
Les langues: Anglais (English ) Français (Français ) Arabe (العربية ) Fuseau horaire: Pacific/Easter (GMT-05:00) |
Bonjour, S'agit-il du widget Elementor par défaut ? Pourriez-vous me donner accès à votre site ? Je pourrais alors appliquer ce widget sur une page brouillon et essayer de le traduire. Je vérifierai votre configuration et pourquoi WPML n'est pas en mesure de le détecter. Cordialement, |
| décembre 8, 2025 à 1:38 pm #17644223 | |
|
Ilyes Supporter
Les langues: Anglais (English ) Français (Français ) Arabe (العربية ) Fuseau horaire: Pacific/Easter (GMT-05:00) |
Bonjour, WPML ne sait pas quels éléments de contrôle de votre widget constituent du « contenu » à traduire. Vous avez deux options : - Plus simple / recommandé pour un widget simple comme celui-ci : XML (wpml-config.xml ou XML personnalisé) : - Plus « technique » : ajoutez un filtre PHP (wpml_elementor_widgets_to_translate) Je n'ai pas pu appliquer la première correction pour vous car je n'ai pas pu installer le plugin (je n'ai pas accès à la page plugins.php de votre administration). Voici le fichier pour le générateur XML : lien caché. Cet outil m'aide à générer un code XML qui sera ajouté aux paramètres WPML, comme expliqué dans la documentation. Faites-moi savoir si vous souhaitez que je continue avec la première méthode ou si vous préférez ajouter la compatibilité à l'aide de PHP comme dans la deuxième méthode. |
| décembre 8, 2025 à 3:15 pm #17644598 | |
|
Sumit Singh Partisan de WPML depuis 12/2025
Les langues: Anglais (English ) Fuseau horaire: Asia/Kolkata (GMT+05:30) |
Hi, I am Sumit from the WPML dev team. If it is okay to communicate in English, then I will help you with this issue. As my colleague Ilyes explained, the custom widget can't be translated automatically; you need to instruct WPML about what needs to be translated and what needs to be copied using wpml-config.xml file or PHP code. I kindly request you to please take a look at the shared documents once, but I have created the custom rules for your widget for now. Please go to WPML > Settings > Custom XML configuration and add this code
<wpml-config>
<elementor-widgets>
<widget name="WidgetName">
<fields>
<field type="WidgetName: Link" editor_type="LINK">link>url</field>
<field type="WidgetName: Label" editor_type="LINE">libelle</field>
<field type="WidgetName: Tracking Link" editor_type="LINK">tracking-ga-label</field>
</fields>
</widget>
</elementor-widgets>
</wpml-config>
NOTE: Please change the "WidgetName" with the actual widget name that you have set in the `get_name()` function. Once saved, edit the page and update some content, then translate again. This time, you will only see external links in the editor; internal links will be translated automatically. I have excluded "Tracking Category" and "Link Style" from translation, assuming those will be copied and the same for all languages. Thanks |
| décembre 9, 2025 à 2:36 pm #17648142 | |
|
delvartS |
I can answer in english both of you can answer if you want I activate Multilingual Tools if you want to use it, i don't know how it gonna works with my elementor widget plugin. Ok, but i do this configuration and seem the same of yours. I can do with php, but i would like to know why my xml conf doesn't work. And if i can avoid edit the french content before translating in english, i will be happy, because lot of translation are made or are currently in works. <wpml-config> |
| décembre 10, 2025 à 6:43 am #17649954 | |
|
Sumit Singh Partisan de WPML depuis 12/2025
Les langues: Anglais (English ) Fuseau horaire: Asia/Kolkata (GMT+05:30) |
Hi, Your configuration XML appears to be correct. I also checked the config on your website; it seems you have adjusted it yourself, and I didn’t find any issues during a quick review. Could you please confirm whether you updated the original French page before translating it again? You mentioned that you prefer not to update the original French page, but this is how WPML works: - You update the WPML config. To make things easier: - You are not required to make content changes—simply updating the French post (even without modifications) is enough. Important: I suggest following these steps: 1. Complete any translations that are currently in progress. Thank you for your understanding! |
| décembre 10, 2025 à 10:47 am #17651668 | |
|
delvartS |
I take a exemple with a link not translated. I simply save my page with no editing on elementor. But my main concern is this : If i don't search "http" in the search bar, the link couldn't be auto translate by my translator. For practical reasons, i need to see the link directly on the translation interface, not with a "http" search |
| décembre 10, 2025 à 12:12 pm #17652145 | |
|
Sumit Singh Partisan de WPML depuis 12/2025
Les langues: Anglais (English ) Fuseau horaire: Asia/Kolkata (GMT+05:30) |
Hi, Can you give me an example page so I can test it myself and resolve it quickly? Thanks |
| décembre 10, 2025 à 12:14 pm #17652165 | |
|
Sumit Singh Partisan de WPML depuis 12/2025
Les langues: Anglais (English ) Fuseau horaire: Asia/Kolkata (GMT+05:30) |
Sorry, I forgot to mention, you don't need to search http and translate the link at all. |
| décembre 12, 2025 à 8:13 am #17658172 | |
|
delvartS |
That's my point ! I don't know why i need to translate a link in the WPML interface to have a translate link and not a link in french. I thinking maybe, if my page A have link to page B, and i translate page A before page B, maybe i need to save the french version of page A to get the translated link B after translate page B; But no. But yes for me, i think WPML should be translate in every case a internal link in elementor widget link. |
| décembre 15, 2025 à 10:36 am #17663530 | |
|
Sumit Singh Partisan de WPML depuis 12/2025
Les langues: Anglais (English ) Fuseau horaire: Asia/Kolkata (GMT+05:30) |
Hi, You are right, but I think you missed my one of the reply here https://wpml.org/fr/forums/topic/traduction-widget-custom-elementor-4/#post-17652145 I requested an example page where I can see the problem. Since it is live site I can't test with any page. Please provide me example page where I can test this problem. Maybe we are missing something on config. Becasue I have tested config and your custom widget locally on my test site and it was working. Then only I provided this solution to you. Thanks |
| décembre 16, 2025 à 3:34 pm #17668311 | |
|
delvartS |
I can do that, but privately, i don't want to expose my client website |
| décembre 16, 2025 à 3:39 pm #17668312 | |
|
Sumit Singh Partisan de WPML depuis 12/2025
Les langues: Anglais (English ) Fuseau horaire: Asia/Kolkata (GMT+05:30) |
Hi, sure, I have set the next reply as private only you and us can see that. Pleae feel free to add the link of page to test. Thanks |