Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 4 replies, has 1 voice.

Last updated by Shekhar Bhandari 7 months, 2 weeks ago.

Assisted by: Shekhar Bhandari.

Author Posts
December 14, 2024 at 2:15 pm #16513600

redaM-2

Background of the issue:
I am trying to automatically translate WooCommerce and Elementor widgets on my site hidden link using WPML. I know how to use WPML and the automatic translation that uses credits, but these plugins have libraries that already exist in multiple languages. I want to translate each string automatically.

Symptoms:
I am comparing to PolyLang, which automatically gets the correct translation files from the plugin source, but on my website, everything must be done automatically or by using WPML translation credits.

Questions:
Am I missing a step in setting up automatic translations for WooCommerce and Elementor widgets with WPML?

December 17, 2024 at 4:11 am #16519664

Marcel
Supporter

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

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

Hi,

before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Are you referring to a plugin like WooCommerce for example, which includes built-in translations for languages such as German and Spanish?

If so, these strings are automatically loaded via String Translation, so no additional translation is required. If the plugin authors have already provided translations, WPML will use them directly.

If this isn’t working as expected, it’s possible that the language codes were modified, preventing the system from detecting the translations correctly. To identify the root cause, we would need more information about the exact setup.

Best regards,
Marcel

December 17, 2024 at 7:49 am #16520005

redaM-2

Hi Marcel,

Yes correct, i am talking about woocommerce, Elementor, and many known plugins.

When i go to string translation -> select from dropdown "In domain" woocommerce for example -> i have all strings that are not translated.

I confirm that the languages name and code are not modified !

I tried also to sync/scan strings for plugins from theme and plugins localisation but still.

Regards.
Reda.

Screenshot 2024-12-17 at 08.47.30.png
Screenshot 2024-12-17 at 08.46.13.png
December 18, 2024 at 5:48 am #16524180

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello,

I will help you further on this issue.

Can you go to WPML->Support->Troubleshooting and click on "Show custom MO Files Pre-generation dialog box" and follow the steps.

Further, We've recently rolled out a new version of WPML plugins. Could you please update your plugins to the latest version and inform me if it resolves the issue?

Our WPML updates are distributed gradually. If your websites haven't received this update yet, please be patient, and you should see it within a few days.

If you want to expedite the process and receive the update immediately, follow these steps:
1. Go to the Plugins → Add New Plugin.
2. Click on the Commercial tab.
3. Then, click the "Check for updates" button.
https://wpml.org/wp-content/uploads/2020/04/wpml-force-plugin-update-1.png

Please remember to create a backup before updating, as a precaution.

Look forward to your reply.

Thanks

December 18, 2024 at 9:06 am #16524817

redaM-2

Hello, Thanks for the reply.

First, i did the update of plugin. Nothing have changed here about automatic translation of plugin strings.

I tried to go to troubleshooting and clicked on Show custom MO Files... But nothing happens here, the page glitches/reloads but there is no extra content being shown or steps to follow. Can you please let me know what it suppose to show ?

Regards,
Reda.

December 18, 2024 at 9:22 am #16524856

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

It should show a popup, To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

December 18, 2024 at 10:01 am #16525082

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I can confirm that the popup is not showing probably due to some themes/conflicts, we can test running this troubleshooting by disabling every themes and plugins.

But before that I wanted to ask, even if the strings doesn't shows up in the WPML->String Translations, it should show translated based on the .mo files, can you check on the front-end if the strings from woocommerce are showing up first?

Look forward to your reply.

Thanks

December 18, 2024 at 10:13 am #16525103

redaM-2

Well i don't know since we have pretty much translated all the content of the website for now. But we are afraid that in some scenarios not tested yet we will see strings not translated by our team.

But i can insure you taht before we translate pages like checkout, my account and others, strings were not showing translated yet.

December 18, 2024 at 10:23 am #16525122

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Have you tried disabling all non-WPML plugins, switching to one of the default themes, and checking whether the issue still persists or not? Try to click the button and see if the checkbox appears.

Please remember to create a backup of your site (both files and the database) before making any updates or changes. This is always a good practice.

Look forward to your reply.

Thanks

The topic ‘[Closed] Automatic translations’ is closed to new replies.