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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 9 replies, has 2 voices.

Last updated by Long Nguyen 3 days, 6 hours ago.

Assisted by: Long Nguyen.

Author Posts
November 14, 2024 at 2:04 pm #16403044

piaP-6

Background of the issue:
I am trying to display the title of upsell products correctly on my Danish site.
hidden link

Symptoms:
The title of the upsell products is appearing in German on the Danish product.

Questions:
How can I change the language of the upsell product titles to Danish?

November 18, 2024 at 7:05 am #16412976

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Peter,

Thank you for contacting WPML support, I’m happy to help you with this issue.

I can see the product title "Blockkerze LILA mit Rillen, 6,8 x 10 cm" is in German language and displayed in the Upsell products section in Danish language.
I suggest you follow some steps below and see if it helps:
- Edit the product in the original language
- Make a small change to the product description > Save
- Update the translation product
- Clear the cache (Litespeed)

Looking forward to your reply.
Thanks

November 18, 2024 at 8:04 am #16413191

piaP-6

Hi Long

Unfortunately, that did not help.

In the backend on the original product, I see that the German products is added. How I that even possible?

Original language backend.PNG
November 18, 2024 at 8:34 am #16413308

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I would like to request temporary access (wp-admin and FTP) to your site so I can take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Looking forward to your reply.
Thanks

November 18, 2024 at 8:45 am #16413383

piaP-6

I am not able to offer that. The site has 200 orders per day and we do not have a staging site because the site is 30 GB +

November 18, 2024 at 9:48 am #16413889

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Can you remove the related product, re-select it and update the product in Danish language?

Also, please go to WPML > Support > Troubleshooting > Click on some buttons below and check if the issue is resolved.
- [Products] Synchronize posts taxonomies
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Set language information
- Fix terms count
- Fix post type assignment for translations
❌ IMPORTANT: Please backup your database and website before proceeding ❌

Looking forward to your reply.
Thanks

November 20, 2024 at 4:59 pm #16425823

piaP-6

Unfortunately, that did not help. I have run the troubleshooting options in WCML as well.

I have looked into the postmeta table of the database and the post ID's in the _upsell_ids field is simply referring to the German translation instead of the Danish. That's weird..

November 21, 2024 at 1:22 am #16426977

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Did you edit the product in Danish language, re-select the upsell products and re-update the product? If it still doesn't work, what happens if you manually replace the product ID in the upsell post meta value with the product ID in the original language?

Looking forward to your reply.
Thanks

November 22, 2024 at 12:08 pm #16433696

piaP-6

Hi Long,

That will help indeed. However, that does not clear out the reason for the issue. Neither if the issue is occurring on others of the 3K+ products.

Best Regards,
Peter

November 25, 2024 at 1:24 am #16437706

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I understand your situation, however, I cannot replicate the issue on a clean installation of WordPress with some new products. Does this happen when you create new products?
If it is possible, I recommend you copy your site to a staging site and share the credentials or at least, share the database archive so I can investigate the issue on the site. Your next reply is set to private to share the info.

Looking forward to your reply.
Thanks