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.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | - | - |
| - | - | - | - | - | - | - |
Supporter timezone: Africa/Cairo (GMT+02:00)
Tagged: Not WPML issue, WCML
Related documentation:
This topic contains 28 replies, has 0 voices.
Last updated by Osama Mersal 17 hours, 32 minutes ago.
Assisted by: Osama Mersal.
| Author | Posts |
|---|---|
| November 10, 2025 at 11:25 am #17561935 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for your permission. I was able to translate all the categories and preserve the hierarchy of some, but I found that the English slugs are duplicated, which is causing the issue. Please edit the English categories and ensure each slug is used only once, as slugs should be unique per category. After that, please let me know to check the remaining hierarchy issues. Best regards, |
| November 12, 2025 at 5:25 am #17568709 | |
|
ingridS |
Thanks Osama for your assistance my issue has been resolved, just i am waiting to update some logic from frontend if every thing goes smooth so this issue will be mark as resolved |
| November 12, 2025 at 7:47 am #17568925 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for your update. Please let me know if you need further assistance regarding the category translation issue. Best regards, |
| November 15, 2025 at 2:17 pm #17580847 | |
|
ingridS |
Hi, We are once again experiencing the issue where the category hierarchy is lost after translation. Previously, when we uploaded the categories, they were automatically translated while preserving the correct parent–child structure. However, after uploading the categories again this time, the hierarchy is still breaking. Please review this issue once more. We want to avoid running into the same problem repeatedly. Thanks. |
| November 16, 2025 at 9:10 am #17581321 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Please translate all the categories into one language and check the issue. Currently, some parent categories are not translated, so the child categories are set without parents. Best regards, |
| November 17, 2025 at 5:50 am #17582346 | |
|
ingridS |
But tell me one thing — when I upload products, the categories are translated automatically one by one as each product gets translated. First, I want to know how I can translate only the categories automatically. Once I understand that, I can follow the rest of your instructions. |
| November 17, 2025 at 7:34 am #17582547 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, In order to translate the categories first, before translating the products, you need to add all the categories to one product and translate it. Best regards, |
| November 17, 2025 at 9:42 am #17582988 | |
|
ingridS |
still same issue as per your instruction i follow the same |
| November 17, 2025 at 10:32 am #17583307 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Could you please check the categories and let me know if they are translated correctly? Best regards, |
| November 17, 2025 at 10:51 am #17583389 | |
|
ingridS |
Yes Osama, it’s fixed now, but I’m still not sure how it was resolved. I need you to explain the proper solution so I know what to do next time, and I can document it clearly for the client. |
| November 17, 2025 at 10:57 am #17583453 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, It's great to hear that the issue is fixed. I opened the translation editor for each language in the test product and resaved the translation without any changes. After that, I ran the Hierarchy Synchronization in WPML-> Taxonomy Translation. Best regards, |
| November 21, 2025 at 7:59 am #17597587 | |
|
ingridS |
Hi Osama, We successfully translated all WooCommerce products, and everything looked good at first. But when I started integrating the translations with my custom plugin (Vamos Funnel), multiple critical issues appeared. The translated product data is not loading correctly on the custom frontend, especially for non-English languages. This is causing major problems for our business. Below is a detailed breakdown of the issues: WPML Accommodation Issue – Technical Documentation Accommodation loading works only in English. Out of 40 languages, most fail to load the correct translated product/category data when fetched via AJAX. Root Cause WPML translates category slugs along with category names: English slug: online Hindi slug: ऑनलाइन → URL-encoded as %e0%a4%91%e0%a4%a8%e0%a4%b2%e0%a4%be%e0%a4%87%e0%a4%a8 When this value is passed into sanitize_text_field(), WordPress corrupts the Unicode/URL-encoded slug. Three Main Issue Types Identified Affected Languages: Chinese, Hebrew, Hindi, Persian, Arabic, Korean, Punjabi, Ukrainian, Thai, Japanese Type 2: “No accommodations found” Affected Languages: Catalan, Italian, Finnish, Hungarian Type 3: Wrong prices or currency Affected Languages: Several (e.g., Malaga) Prices show in USD instead of EUR Some translated products show $0.00 Additional Issues After SKU-Based Logic Implementation After switching to SKU-based WooCommerce product fetching in the AJAX logic, the loading time for several languages increased dramatically. AJAX responses take too long Slow DB queries for translated SKUs Performance drops when WPML applies language filters This is affecting user experience on frontend heavily. 5. Incorrect Translation Strings Showing Some translated text strings are appearing in the wrong language. Examples: If I select French, a few labels show in Spanish Choosing Korean loads some Arabic static strings Certain WPML string translations are mismatched or overlapping This makes the frontend look broken and unprofessional. Urgent Request These problems are now critical for our business. If we cannot properly integrate WPML-translated products through AJAX, WPML becomes unusable for our use case—even after investing heavily in it. We urgently need: A clear guide for integrating translated WooCommerce categories/products with custom AJAX Correct handling of multilingual slugs and SKUs Fixes or recommendations for performance issues Help from the WPML technical team if possible Please help us resolve this before it impacts our business further. |
| November 21, 2025 at 8:00 am #17597619 | |
|
ingridS |
one remaining attached image |
| November 23, 2025 at 8:01 am #17601606 | |
|
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, We try to keep each ticket in our forum to one issue. As the original issue is resolved, could you please open a new ticket for your additional question? Thanks for your understanding Best regards, |





