Skip Navigation

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

Problem:
The client's website displays reviews in multiple languages, each with an associated flag representing the language of the original review. However, when a review is translated, the flag changes to that of the translation language instead of staying as the flag of the original language.

Solution:
1. We explained that the behavior observed by the client is expected and by design. When a review is translated, the flag of the currently displayed language is shown. This is explained in our documentation on Translating and Displaying Product Reviews.

2. If the client prefers not to display flags with reviews, they can disable the option by going to WooCommerce > WooCommerce Multilingual > Settings and unchecking 'By default the reviews should be displayed in all languages.' More information can be found in our documentation on Showing Product Reviews in All Languages.

Please note that the solution provided might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket. You can do so by visiting the WPML support forum.

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 2 voices.

Last updated by Andreas W. 1 year, 3 months ago.

Assisted by: Andreas W..

Author Posts
February 28, 2024 at 6:58 pm #15355609

ericR-40

My website allows users to post reviews, which can be written in 3 languages. Each review is associated with a flag, intended to represent the language in which the original review was written. However, when a review is translated from its original language to another language, the flag displayed next to the review incorrectly changes to represent the language of the translation, rather than remaining as the flag of the original language in which the review was written.

This means that instead of showing the correct flag that indicates the original language of the review, the website is showing a flag that corresponds to the language into which the review has been translated. This could lead to confusion, as the flag no longer accurately represents the original linguistic and cultural context of the review author.

Picture 1.png
February 29, 2024 at 2:48 am #15356230

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

It is expected that a translated review will show the flag of the currently displayed language.

The feature is explained here:
https://wpml.org/documentation/related-projects/woocommerce-multilingual/translating-and-displaying-product-reviews/

Example:

- The original review was written in English
- The review was translated into Spanish
- A Spanish flag will be displayed ahead of the Spanish translation

This is how the feature is supposed to work by its design.

Do I understand right, that you are not expecting this behavior and instead you would like to always see the flag that relates to the original language in which the review was posted?

If so, then please take kindly note that this is simply not how this feature is supposed to work and you might need a customized solution for your specific needs, which is something that is not covered by our support policy.

https://wpml.org/purchase/support-policy/

Best regards
Andreas

February 29, 2024 at 3:47 pm #15359063

ericR-40

Thanks Andreas,
I understand, and thanks for the explanation.
I also understand that you can't support me further.

Another option for me would be would be that the flag is not shown with the reviews. But I guess this is also not a feature that comes with WPML, I can't find it in the settings.

Is this also you can support me further or it is out of the scope.

Thanks again,
Eric

February 29, 2024 at 4:38 pm #15359484

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello Eric,

The flags appear if you determine in WooCommerce > WooCommerce Multilingual > Settings that By default the reviews should be displayed in all languages.

If you disable this option then the flags should not show up.

Source:
https://wpml.org/documentation/related-projects/woocommerce-multilingual/translating-and-displaying-product-reviews/#showing-product-reviews-in-all-languages

Could you please give this a try?

March 7, 2024 at 1:55 pm #15384697

ericR-40

Thank you Andreas for the quick and effective support!

I would love to have the flags in the original language always present, so this create more engage, but I understand this is out of your scope and you can't help.