Skip Navigation

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

Problem:
1. A customer's review written in Arabic is only visible when the site is in English, not in Arabic. Additionally, the word for 'review' is incorrectly translated.
2. The WooCommerce Min/Max Quantities plugin limit is not enforced on the Arabic version of the site, allowing customers to add more than the set limit of 3 items to their cart.
Solution:
1. The issue with the review visibility is related to the child theme. We recommend checking the child theme's settings and any custom code to identify the cause. Reviews appear correctly when using the WordPress default theme or the Xstore parent theme.
2. For the translation of the word 'review' to 'تقييمات', you can update this via the String Translation interface in WPML.
3. Regarding the Min/Max Quantities plugin issue, since it works correctly in English but not in Arabic, we suggest reaching out to us for further assistance as it may require a closer look into the theme or plugin settings in conjunction with WPML.

If this solution doesn't look relevant, please open a new support ticket.

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

Last updated by Osama Mersal 1 year, 5 months ago.

Assisted by: Osama Mersal.

Author Posts
January 12, 2024 at 2:39 am #15177131
muhamedF

Hi Osama,

I hope this message finds you well .. I am running into a couple of issues that I was hoping you could help me resolve:

1. One of my customers wrote a review on a product in Arabic .. The review is only visible when the site is in English and it's not visible when the site language is Arabic .. This is the link to the reviewed product so you can see what I mean:
hidden link

When I change the language from English to Arabic, the review stars are being shown on the product page, but it says (لا توجد اي مراجعات) .. Furthermore, the correct translation for the word review that I would like to use on my site is (تقييمات) and not (مراجعات) ..

2. I have recently installed a new plugin called (WooCommerce Min/Max Quantities) in an effort to limit the quantity that my customers can be per product .. The limit I set is 3 pieces per product .. The plugin is working as intended in the English version .. When I go to the cart page in English, it does not let me increase the quantity above 3 .. However, when I change the language to Arabic and visit the cart page, for some reason I can bypass the limit and increase the quantity above 3 .. Please feel free to test that on your end to confirm the issue ..
After contacting the developers of the plugin, they recommended I discuss this with the WPML developers, as the issue seems to be happening only when the website is in Arabic ..
Can you please look into this and help me figure out how we can enforce the 3-quantity policy?

Finally, if you need to split this ticket into 2 tickets, please feel free to do so .. I look forward to your reply!

Best,
Muhamed

ninalaskincare.com

New threads created by Osama Mersal and linked to this one are listed below:

https://wpml.org/forums/topic/woocommerce-min-max-quantities/

January 14, 2024 at 11:12 am #15182224

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) First of all, sorry for the late reply; it was due to a higher workload. Please go to WooCommerece Multilingual-> Settings tab and check the review settings.

2) We try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.
Therefore, I've split the other issue and created a new ticket with this issue. (https://wpml.org/forums/topic/woocommerce-min-max-quantities/)

Best regards,
Osama

January 15, 2024 at 3:54 am #15182892

muhamedF

Hi Osama,

I checked the settings tabs for Woocommerce Multilingual and I see that the "By default, show reviews in all languages" option is active .. I also checked the reviewed product again, it does indicated 1 review on the Arabic page (١ تقييم), however, the reply itself is not being displayed .. Same product page shows the review when the language is English .. Please see the attached screenshots ...

Screenshot 2024-01-14 at 10.53.39 PM.png
Screenshot 2024-01-14 at 10.51.40 PM.png
January 15, 2024 at 8:36 am #15183565

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Could you please check if the issue persists in a minimal environment by following these steps?

1- Deactivate all the plugins except WPML CMS, String Translation, WooCommerce, and WooCommerce Multilingual.
2- Switch for a moment to a WordPress default theme like Twenty Twenty-one.

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

Best regards,
Osama

January 16, 2024 at 3:01 am #15187478

muhamedF

Hi Osama,

I backed up the website, deactivated all plugins, except the ones you mentioned and switched to the default wordpress theme and still wasn't able to see the review when switching the language to Arabic ..
Any thoughts on what might be causing this?

January 16, 2024 at 7:56 am #15188054

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please share the staging site access details to check the issue there without affecting your live site.

Best regards,
Osama

January 17, 2024 at 3:18 am #15192548

muhamedF

Hi Osama,

The access credentials are the same as the live website, which are:

[Access Details Deleted]

January 17, 2024 at 8:49 am #15193483

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

The issue happens because of your child theme. I tested with the WordPress default theme and Xstore parent theme, and the reviews appear correctly in both languages. (Kindly check the attached screenshots)

Please check your child theme's settings and custom code to know what caused the issue.

Kindly check this product to see the reviews. (hidden link)

Best regards,
Osama

2024-01-17_10-42-14.jpg
2024-01-17_10-39-24.jpg
January 19, 2024 at 1:45 am #15202652

muhamedF

Support helped me found the problem