Passer au contenu Passer à la barre latérale

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
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Fuseau horaire du support : Pacific/Easter (GMT-06:00)

Ce sujet contient 2 réponses, a 0 voix.

Dernière mise à jour par Ilyes Il y a 5 mois et 2 semaines.

Assisté par: Ilyes.

Auteur Messages
février 14, 2025 à 4:27 pm #16707455

redaM-2

Contexte de la question:
I am trying to translate a string on my checkout page created with Elementor using the checkout widget. The string 'Returning customer? Click here to login' is not being translated on the front end. I found the strings in string translation and translated them, but they are not reflecting on the site. I suspect Elementor is using different strings. I tried adding the missing fields as suggested in a forum topic: https://wpml.org/forums/topic/trying-to-translate-a-woocommerce-checkout-section/ with the following configuration: returning_customer_section_title returning_customer_link_text . However, this did not work.

Symptômes:
The translated strings are not appearing on the front end of the checkout page.

Questions:
Why are the translated strings not appearing on the front end?
Is Elementor using different strings for the checkout widget?

février 17, 2025 à 7:37 pm #16716152

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-06:00)

Hello,

Thank you for contacting WPML support team,

There could be another instance of the same string under a different domain, could you please go to WPML > String translation > At the bottom, check the box " Look for strings while pages are rendered" and then visit the shipping page where the string is displayed.

Now go back to string translation and check if another instance of this string is loaded.

If not, go to Translate texts in admin screens », and search for it there.

You can learn more about this issue here : https://wpml.org/faq/why-arent-my-translated-strings-showing-up-on-the-front-end-of-my-site/

If that did not help, this could be an incompatible string and would require further debugging,

Best,

février 18, 2025 à 9:31 am #16717689

redaM-2

Hello Ilyes,

I followed your instructions and effectively it added some new strings and i translated them. But still showing in english on front.

I am using the checkout elementor widget.

Regards,
Reda.

Screenshot 2025-02-18 at 10.28.14.png
février 18, 2025 à 11:13 pm #16721258

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-06:00)

Hello,

I would like to ask for temporary access to your test site’s wp-admin and FTP to investigate the issue further.

It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/

If you do not see the form below, please do not enter your credentials as they will be publicly exposed:

lien caché

For your privacy and security, please ensure that you make your reply a private one.

Best regards,

février 20, 2025 à 3:08 am #16727223

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-06:00)

Hello,

The string is now translated : lien caché

It turns out the issue is actually related to an incompatibility with the Woocommerce Elementor Checkout widget,

I tweaked the XML a bit, you can see the change under WPML > Settings > Custom XML Configuration.

Then I added a small edit to the checkout page to let WPML load the new segment, then translated the checkout page directly with the translation editor.

I'm escalating this to our compatibility team to be included in the next XML version for Elementor,

Let me now if you have any questions,

Le sujet « [Fermé] Elementor checkout widget translation » est fermé aux nouvelles réponses.