Skip to content Skip to sidebar

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

Problem:

The client is experiencing issues with translating certain phrases in the WooCommerce domain, specifically product review texts, while using the XStore theme. Despite the phrases being registered and translated, they only appear in English.

Solution:

We recommend the following steps to resolve the translation issues with the XStore theme:

1) Switch to the XStore parent theme.
2) Navigate to WPML >> Themes and plugins localization.
3) Perform a scan for strings in the XStore theme by selecting Scan strings in themes, plugins, and WordPress.
4) Go to WPML >> String Translation.
5) Search for the "Reviews strings" and ensure they are translated.
6) Switch back to the XStore child theme.

If this solution does not apply to your case, or if it seems outdated, we 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. If issues persist, please open a new support ticket at WPML support forum for further assistance.

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

Last updated by salvadorC-8 9 months, 3 weeks ago.

Assisted by: Bigul.

Author Posts
July 21, 2025 at 4:24 pm #17256827

salvadorC-8

OK,

Thanks for your help.

I hope you can find the solution. I see that the test website has lost the link to all the photos and the structure. I assume it's one of the tests or modifications you made. It's not important because it's not a working website.

Best regards
Salvador

July 22, 2025 at 10:58 am #17258889

Bigul

Hi Salvador,

Thank you for the updates. We are continuing the testing on our local copy. However, due to some persistent PHP notices, the frontend is not loading as expected (in the local copy).

As part of our debugging process, would it be okay for us to temporarily switch to the default Twenty Twenty-Five theme on the staging site? This will help us check whether the issue persists with a default theme.

I had deactivated a few plugins on the staging site yesterday as part of the testing, which is why some links may appear to be missing. Please refer to the attached images for more details.

--
Thanks!

Bigul

2025-07-22_16h27_37.png
2025-07-22_16h21_39.png
2025-07-22_15h37_32.png
July 22, 2025 at 12:19 pm #17259187

salvadorC-8

You can run whatever tests you consider appropriate. The test site is a virtual server running only on the stagin site

For your reference,
I installed the twenty-five and Storefront themes
and aside from the fact that the entire look is broken, the sentences are translated correctly.

so apparently it may be something with Xstore

best regards
Salvador

July 23, 2025 at 6:48 am #17261678

Bigul

Hello,

The issue occurs because the XStore theme uses a custom template for product reviews:
xstore/woocommerce/single-product-reviews.php.

The string translation works correctly with the default Storefront and Twenty Twenty-Five themes. However, with the XStore theme, the expected translation results were obtained only after applying the following steps:

1) Switch to Xstore parent theme
2) Visit WPML >> Themes and plugins localization
3) Scan for the Xstore theme strings from *Scan strings in themes, plugins, and WordPress*
4) Visit WPML >> String Translation
5) Search for the "Reviews strings" and translate them
6) Switch back to Xstore child theme

Please check it now and let us know your feedback: hidden link

--
Thanks!

Bigul

July 23, 2025 at 8:01 am #17262408

salvadorC-8

Dear Bigul,

To avoid having to change themes, I copied the single-product-reviews.php file into the child
theme.

I translated the strings and then deleted this file.

And everything now works correctly.

Thank you very much for your support.
best regards
Salvador