Skip to content Skip to sidebar

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

Problem:
The client is unable to translate certain items on their Wishlist page using the Xstore Theme. Specifically, the word 'wishlist' on the empty page and the button text are not translated, despite existing translations. Additionally, the phrases 'Added on: December 13, 2023', 'add to cart', 'apply', and 'Share' on the page with added products are not translated.
Solution:
1. Navigate to WPML -> Theme and plugins localization, select your theme/plugin, and scan for strings.
2. Go to WPML -> String Translation.
3. Click on the "Translate texts in admin screens »" link.
4. Search for the needed strings.
5. Select the strings you wish to translate.
6. Click on the "Add to String Translation" button.
7. Return to the String Translation page by clicking on the "« Return to String Translation" link.
8. Translate the selected strings, clear your site's cache, and then check the front end to see the changes.

For more detailed guidance, please refer to our documentation on translating texts in the admin texts screen.

If this solution doesn't look relevant to your issue, please don't hesitate to open a new support ticket with us here.

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

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

Assisted by: Osama Mersal.

Author Posts
December 13, 2023 at 10:01 am #15052405

muhamedF

Dear Support,

I hope this message finds you well .. I have managed to translate most of my website with the exception of some items that I was hoping you could help me translate .. The items are:

2. Wishlist page:
- Empty page: The word wishlist is translated by the body and the button text is not,
even though the translation exists
- Page with added products: Added on: December 13, 2023, add to cart, apply and Share

Once we fix these items, I will highlight the other items I need your help with .. Thank you in advance ...

Best Regards,
Muhamed

My website is hidden link and I am using the Xstore Theme ...

December 13, 2023 at 10:50 am #15053367

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Please try the following steps to translate the buttons:

1- Go to WPML-> Theme and plugins localization, select your theme/plugin, and scan
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the needed strings
5- Select the strings
6- Click on the "Add to String Translation" button
7- Then click on the "« Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end

Kindly check our guide to know more about translating texts in the admin texts screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

Best regards,
Osama

December 14, 2023 at 5:38 am #15060581

muhamedF

Hi Osama,

Thank you for your reply .. After carefully following your instructions, I am still unable to resolve the issue .. Is there an alternative method we can try?

December 14, 2023 at 8:10 am #15060959

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 15, 2023 at 1:36 pm #15073183

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Thanks for the access details. I was able to find and translate the mentioned strings. (Kindly check the attached screenshots)

Kindly let me know if it works correctly.

Best regards,
Osama

2023-12-15_15-35-31.jpg
2023-12-15_15-33-28.jpg
December 16, 2023 at 1:14 am #15076375

muhamedF

Hi Osama,

Thank you very much, I checked and all the modifications are visible on my end as well .. I will need your help with the following 2 remaining issues:

1. When the wishlist page is empty and I click the black button (العودة الى المنتجات) it goes to the Arabic version of the shop page .. However, I add a product to the wishlist then remove it, clicking on the same button takes me to the English version of the shop .. If I hover over the button, I see that the link takes me to the shop page and not the (/5-المنتجات) page .. Do you know how we can resolve this issue?
2. Can you help me remove this warning message from my dashboard please? (see screenshot)

I do have some other issues with the English/Arabic links of the brands .. Would you recommend opening another ticket, or can we resolve it in this ticket as well?

Screenshot 2023-12-15 at 8.12.37 PM.png
December 17, 2023 at 8:38 am #15078451

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

1) I'm not sure why the button redirects to the English shop when you delete the products from the wishlist.

However, when you delete the products, refresh the page, and check the button it works correctly.

2) I cleared the dashboard message.

Best regards,
Osama

December 18, 2023 at 3:58 am #15080259

muhamedF

Hi Osama,

Thank you very much, the message disappeared on my end as well 🙂 ..
My last issue is with the Arabic and English links of the brands .. I am not sure how to set specific links to each individual brand in Arabic .. Right now some of the brands' pages are not linking properly when the website is in Arabic as it's showing me this error message (لم يتم العثور على أي منتجات), those brands are (APIEU, ABEREDE, Dr.Ceuracle and ETUDE), whereas the rest of the brands work just fine ..
Can you please help me figure out why this is happening?

December 18, 2023 at 8:52 am #15081189

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Some of your products are still waiting for review. Please make sure that you review and publish all of your product translations.

After that, please check the issue of the brands.

Best regards,
Osama

2023-12-18_10-51-07.jpg
December 20, 2023 at 3:25 am #15097327

muhamedF

Hi Osama,

Thank you for bringing that to my attention .. I was able to revise and publish the translations for the products waiting for review, however, the issue with the brands' links is still not resolved .. Can you please look into it?

December 20, 2023 at 7:40 am #15098409

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Please check if the mentioned brands work in both languages.

Best regards,
Osama

December 21, 2023 at 2:54 am #15106435

muhamedF

Hi Osama,

I recorded a loom video to show you the issue with the brands links .. Please watch it and let me know your thoughts .. Link:

hidden link

December 21, 2023 at 9:27 am #15108007

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Thanks for the video. It helped me understand the issue. The issue was the brand slug translation.

I deleted this translation, which fixed the issue. Kindly check this video. (hidden link)

Best regards,
Osama

December 22, 2023 at 5:19 am #15114043

muhamedF

My issues have been resolved