Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to translate the product attribute label 'Choisir votre modèle de Ski-Mojo :' for a product, but despite translating the attribute and clearing caches, the label remains in French for all languages except German.
Solution:
1. We suggested renaming the file

wp-content/languages/wpml/wordpress-de_DE.l10n.php

to resolve the issue with the German translation not displaying correctly.
2. After renaming, the translation should work as expected, as confirmed on a staging site.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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

Last updated by Dražen 2 weeks, 5 days ago.

Assisted by: Dražen.

Author Posts
November 28, 2024 at 8:41 pm #16456911

amauryC-5

Background of the issue:
I am trying to translate the product attribute label 'Choisir votre modèle de Ski-Mojo :' for the product at hidden link. I have modified the label and translated it using WooCommerce Multilingual and Multicurrency, synchronized attributes, and checked WPML string translation.

Symptoms:
Despite translating the attribute and clearing caches, the label 'Choisir votre modèle de Ski-Mojo :' remains in French for all languages (ENG/DE/IT/ES).

Questions:
Why is the product attribute label not displaying the translated text in other languages?
What steps can I take to ensure the translation is applied correctly?

November 29, 2024 at 9:59 am #16458596

Dražen
Supporter

Languages: English (English )

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

Hi,

I am not sure how it should translate, but I need to further check what is wrong, and possibly disable some plugins.

Please share the access details of your website / staging website, so I can log in and take a look.

I’m enabling a private message for the following reply.

We have strict policies regarding privacy and access to your information.

Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/


- Please backup the site files and database before providing us access. 

- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.



Thanks,
Drazen

November 29, 2024 at 11:55 am #16459277

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks, I have checked but could not find any solution, so I have escalated it further to our 2nd tier.

I will update you when I have some news, please note it may take a few days.

Regards,
Drazen

November 29, 2024 at 12:11 pm #16459332

amauryC-5

thank you for the support ; waiting for the feedbakc in a few days then

December 2, 2024 at 12:01 pm #16465776

Dražen
Supporter

Languages: English (English )

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

Hello,

There seems to be an issue with the loading of the translation files. Please try next to rename the "wp-content/languages/wpml/wordpress-de_DE.l10n.php" file and then re-check.

I tried it on the staging site and it works fine.

Regards,
Drazen

December 5, 2024 at 8:05 am #16479669

amauryC-5

Hi

Thank you for your help
I have applied the solution you said and it worked for IT/ES and ENG
But does not work for DE
So weird

Also can you help me to understand the impact of renaming this file ?
How can WPML and the translation still work if I rename such a file ?

Thank you

December 5, 2024 at 8:32 am #16479879

Dražen
Supporter

Languages: English (English )

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

Hello,

did you delete the file I mentioned for DE, I tested for DE and it worked fine.

You can see it here. hidden link

It works since these are files from WC and there are some issues with latest WP and loading of translation, including translation added via WPML String translation.

Regards,
Drazen