Skip Navigation

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
- 8:00 – 10:00 8:00 – 10:00 8:00 – 13:00 8:00 – 13:00 9:00 – 13:00 -
- 11:00 – 17:00 11:00 – 17:00 14:00 – 17:00 13:00 – 17:00 13:00 – 18:00 -

Supporter timezone: America/New_York (GMT-05:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by tarasL 12 hours, 37 minutes ago.

Assisted by: Lauren.

Author Posts
January 30, 2025 at 7:01 pm #16653253

tarasL

Background of the issue:
Issue Description:
When editing a post in Gutenberg, the tag search works correctly.
In Classic Editor, when entering a tag name, the AJAX request (ajax-tag-search) does not return some tags in Ukrainian.
For example, the tags "Ізраїль" and "Дональд Трамп" exist in the database and have correct translations, but they do not appear in the list of found tags in Classic Editor.

Other Ukrainian tags (e.g., “Меланія Трамп”) for the search term “Трамп” are found in the same interface without problems.
🔹 What We Have Already Checked:
✅ The tags exist in the database (wp_terms) and have correct relationships in wp_icl_translations.
✅ The tags appear as translated in WPML → Taxonomy Translation.
✅ Logging is enabled, and the SQL query shows that WPML filters out the missing tags in Classic Editor.
✅ Clearing WPML cache and regenerating taxonomies did not resolve the issue.
✅ Disabling all plugins except WPML and Classic Editor did not solve the problem.
✅ When disabling Classic Editor and switching to Gutenberg, everything works correctly, and all tags are displayed.
✅ Manually filtering ajax-tag-search (e.g., via wp_ajax_ajax-tag-search) did not resolve the issue.

🔹 What We Suspect:
WPML may be incorrectly determining the language in Classic Editor, causing it to filter tags based on the wrong language_code.
Classic Editor uses an older tag search mechanism (tagsdiv-post_tag), and WPML filters may not be applying properly.
The AJAX request in Classic Editor may not be passing the correct language, leading WPML to exclude certain tags.
🔹 Questions:
Are there any known fixes or recommendations for improving WPML compatibility with Classic Editor?
How can we manually intercept and correct WPML’s tag filtering in Classic Editor?
Is there an official patch planned for Classic Editor support in future WPML updates?
Thank you for your time and assistance! We look forward to your response.

Symptoms:

Questions:

February 1, 2025 at 12:10 am #16657529

Lauren
Supporter

Languages: English (English )

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

I'm not longer able to access the test site that you had sent me credentials for. I have marked the next reply as private so that you can send me login credentials where I can continue troubleshooting. Please use the private fields to share the informatin securely. Thanks!

February 3, 2025 at 7:38 pm #16664270

Lauren
Supporter

Languages: English (English )

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

This link returns a 404 Not Found. I have attached a screenshot. Please send me the link so I can access the site. THanks!

February 3, 2025 at 8:32 pm #16664422

tarasL

Please open a private message. I'll give you a username and password
I'll also ask you to delete the screenshot you sent me.

February 4, 2025 at 4:52 pm #16667963

Lauren
Supporter

Languages: English (English )

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

I have removed the screenshot and set the next reply as private so you can use the private fields to securely send credentials. Thanks!

February 4, 2025 at 10:27 pm #16668653

Lauren
Supporter

Languages: English (English )

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

When I try these credentials, I get the message "ERROR: User can't find.". Please update the previous reply with working credentials and I'll log in and further troubleshoot. THanks!

February 5, 2025 at 6:56 am #16669079

tarasL

I apologize. It's probably a database migration glitch. I recreated the user. Everything works now.

February 7, 2025 at 7:29 am #16678065

tarasL

Did it work?

February 7, 2025 at 10:24 pm #16681375

Lauren
Supporter

Languages: English (English )

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

Yes, these credentials worked. Please let me know if it is okay for me to install the Adminer plugin. I'd like to look into the database and see if I can find anything missing from the taxonomy terms or anything different from the term that is now showing in the classic editor.

February 7, 2025 at 10:27 pm #16681377

tarasL

of course

February 9, 2025 at 11:20 am #16683795

tarasL

I'd like to ask you to expedite this matter.

February 10, 2025 at 9:37 pm #16689600

Lauren
Supporter

Languages: English (English )

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

I found that if you change the term so that it is different than the original taxonomy, then it will show up. FOr example, Меланія Трамп shows up in the Tags becuase there is a difference in languages (original is Мелания Трамп). Дональд Трамп is the same in both languages, so it seems this is causing it to not appear in the secondary language. I confirmed this by changing the term (added a number to it, then I removed after testing). When I add the number 1 to the taxonomy translation, it appears in the tag box.

However, I was not able to reproduce this on a test install. You can see here that on my test site, I have the same taxonomy "WPML Test" in both languages and it appears in the tag box on both languages. Feel free to login to the test site using this link: hidden link

I am going to send instructions in a next reply to get a copy of your site so that we can test further without interruption to your live site. In the meantime, please try changing the tag translation slightly so that it is not identical to the original term. This is intended to be a final solution, just something to use in the meantime until we can figure out a more permanent solution.

February 10, 2025 at 9:42 pm #16689608

tarasL

Thank you. That's an interesting observation. I'll be able to test it in a few hours. Changing the tag is not a good option as there are so many tags. I'll test with other words and will post