Skip Navigation

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 3 replies, has 0 voices.

Last updated by Carlos Rojas 6 days, 21 hours ago.

Assisted by: Carlos Rojas.

Author Posts
February 6, 2025 at 11:08 am #16674907

robertop-10

Background of the issue:
I am using WPML to manage translations on my WooCommerce site, hidden link. The default language is set to Italian, and I have added English as a translation.

Symptoms:
When I check the endpoints of WooCommerce, I see that the default language is set to English instead of Italian.

Questions:
Why is the default language for WooCommerce endpoints set to English instead of Italian?
How can I ensure that the default language for WooCommerce endpoints is set to Italian?

February 6, 2025 at 12:07 pm #16675329

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

1.- To translate the endpoints you must go to WPML -> String Translation -> Find and translate the endpoints. However, you must be careful because there is a known issue related to the translation of endpoints when the default language is not English: https://wpml.org/errata/incorrect-content-displayed-when-woocommerce-endpoints-are-translated-from-non-english-to-english/

2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Regards,
Carlos

February 6, 2025 at 12:24 pm #16675400

robertop-10

Thank you for quick reply!

I think I didnt explain enough my issue, the "original" slug of my endpoints set in English (see english flag in the screenshot attached). Why is it happening if my website language is set up to original Italian langiage and how should I fix it?

thank you

p.s. increased the memory limit to 256, thank you

Screenshot (457).png
February 6, 2025 at 12:42 pm #16675567

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Thank you for your message and for sharing the screenshot.

In this case, you must follow these steps to change the default language of the strings (endpoints):
- Go to WPML -> String Translation
- Search the endpoints and select them
- There is a button under the results table that will allow you to change the default language of the selected strings to Italian

In this link you will find a guide that explains these steps: https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/

Could you tell me the results of the steps described above?