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.

Tagged: 

This topic contains 22 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 5 months ago.

Assisted by: Christopher Amirian.

Author Posts
August 15, 2023 at 7:49 am

paulW-38

I found out that the WooCommerce pages are significantly slower in the EN language then our DE, FR and IT versions of the page.
We disabled all other plugins except WPML plugins and WooCommerce and installed QueryMonitor

August 15, 2023 at 8:49 am
August 16, 2023 at 4:39 pm #14239915

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

As an update, the process of copying the website to our server is started and we are waiting for it to finish.

Thanks.

August 20, 2023 at 3:36 pm #14258801

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

The issue is reported to the second-tier support. I will inform you as soon as I have an update.

Thank you.

August 22, 2023 at 2:09 pm #14271857

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

As an update, we identified that the issue is with Woocommerce Germanized, some of the text domains for strings turn into woocommerce instead of woocommerce-germanized and that causes the issue.

The problem is reported to the development team. I will inform you if there is an update.

As a temporary solution you can do as follows:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to WordPress Dashboard > WPML > String Translation.
- From the top filter, select the "woocommerce" text domain.
- You will see that around 70 strings are there that are translated in English.
- Select them.
- Delete them.
- That should fix the issue and after that you will need to re-scan the plugins to translate the missing parts that you have deleted.

Thanks.

August 22, 2023 at 2:14 pm #14271967

paulW-38

many thanks for the Update Christopher!
I'm happy you found the cause of the issue!

deleting the 70 stings sounds too risky for me right now in production environment!
I would prefer to wait until your dev team has a permanent solution for this bug.
Do you have an idea how long this will take?

kind regards

:: Paul

August 23, 2023 at 7:42 am #14275051

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Paul,

I am not sure about that, it might take a while as it is a very specific scenario happening with Woocommerce Germanized plugin, so we need to take into account the priorities in development.

I surely will inform you as soon as I have an update.

Thanks.

August 23, 2023 at 8:26 am #14275787

paulW-38

ok understood Christopher!

what would be the side effect if I delete these strings (in production there are 186).

kind regards

:: Paul

August 23, 2023 at 3:08 pm #14279125

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

You might see some default Woocommerce related texts showing in the default language and not translated.

- Just in case, backup your website.
- Select the Woocommerce related text items in String Translation and delete them.
- Go to WordPress Dashboard > WPML > Theme and plugins localization.
- Only select the Woocommerce plugin.
- Click the scan button.
- The strings will appear gain and this time you need to translate them from scratch.
- But you do not need to translate them all, as most probably many of them are not showing on the front end.
- Check the front end of the website and if you see a text that is not translated, search for it in the string translation and translate it.

Thanks.

August 23, 2023 at 3:14 pm #14279135

paulW-38

Hi Christopher!

thanks for your advice!
Deleting this translations is a bad idea because Germanized set these translations because of legal reasons in Germany and in Austria. So when I delete these translations this has a legal impact on our website and therefore is not recommended by our lawyer.

I think this problem will then have a lot of WPML customers in Germany and Austria using WPML, WooCommerce and Germanized 🙁
--> maybe this is not really a low priority issue...
Hope you can raise the priority on this bug to get a fix by your dev team soon.

kind regards

:: Paul

August 24, 2023 at 7:36 am #14282233

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Paul,

We do have a lot of customers in German-speaking countries, so rest assured that we will be checking with this issue in a proper timeframe.

But for now I do suggest that you follow the steps below:

- Copy your website to a staging server.
- Delete the strings there.
- Make sure you rescan Woocommerce.
- Check the front end of the website and pinpoint the untranslated text.
- Search the string in string translation and translate them.
- After you make sure that front end of the website is ok, copy back the site to the live version.

For now I can suggest that.

Thanks.

August 24, 2023 at 10:12 am #14283827

paulW-38

it's me again Christopher!

I also had a ticket with Germanized on that issue.
They told me that these strings are not from Germanized - the only register Stings within the Domain woocommerce-germanized!
They asked me why WPML thinks that these Strings are registers by the plugin Germanized??

August 24, 2023 at 10:32 am #14284037

paulW-38

I just got another replay from Germanized vendor.
The tell these are no Strings from Germanized but all from WooCommerce core itself:

Hi,

nein, das sind keine Strings von Germanized - die stammen allesamt direkt aus dem Woo Core. Ich kann dir leider nicht erklären, wie man im Support hier auf Germanized kommt.

Grüße

translated in English:
Hi,

no, these are not strings from Germanized - they all come directly from the Woo Core. Unfortunately, I can't explain to you how to get to Germanized in the support here.

Greetings

August 24, 2023 at 10:58 am #14284247

paulW-38

Hi Christopher!

sorry my last message for today.
I checked all the strings in the Domain WooCommerce you deleted on our integration environment (int.magepd.com). And it looks like these are strings from WooCommerce Core and is has no effect if these Strings will be deleted in WPML String translation.
--> I also deleted these Strings in WPML String translation on our production environment

BUT: this does not solve the problem! If you checkout the response times on hidden link in different languages with the Query Monitor tool you will see that DE, IT and FR load in about 2,1sec while the EN version still loads in 4,9sec even you deleted these Strings in WPML String translation.
--> this definitely does not solve the problem.

Can you please double check?

cheers

:: Paul

August 27, 2023 at 6:06 am #14295523

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Paul,

I have an update on the progress.

The development team found out that some strings that were supposed to be woocommerce-germanized are switched to woocommerce in the text domain.

That is not the fault of the Woocommerce Germanized plugin, so you will go nowhere following up with them.

The issue is that in WordPress 6.3, there is a breaking change in "\wp-includes\l10n.php" that causes WPML to mix up and cause the change in the text domain.

So it might be possible with another plugin too and our development team is working to find a solution.

At the moment there is nothing that I can suggest to you for a permanent fix and you will need to wait for upcoming releases of WPML to have a fix.

Thank you for your understanding and patience.