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 23 replies, has 0 voices.
Last updated by Dražen 1 month, 2 weeks ago.
Assisted by: Dražen.
| Author | Posts |
|---|---|
|
July 17, 2026 at 6:30 am
#18163103
|
|
|
Hi, Thank you for testing this so thoroughly and for sharing such detailed findings. I'm sorry to hear that the issue is still occurring. Based on the fix that was deployed, I expected this to work. Let me check with our development team again and share your latest observations, especially the fact that the glossary suggestion is visible in ATE but is not actually being applied to the translation output. It's possible there is an additional issue here beyond the one that was originally fixed. I'll get back to you as soon as I have more information from the team. Thank you again for your patience and for helping us investigate this. Kind regards, |
|
|
July 17, 2026 at 9:54 am
#18163475
|
|
|
Dražen Supporter |
Hi, Thank you for your patience. I checked this further with our team, and we noticed something that may explain the behavior. Glossary terms are currently case-sensitive. In your glossary, the source term is defined as `nederlandse gids` (all lowercase), while in the translation jobs and the examples you shared, the source text is `Nederlandse gids` with a capital "N". Could you please try updating the glossary entry so that it matches the source text exactly, including the capitalization, and then test again? Let me know how it goes. Kind regards, |
|
July 17, 2026 at 12:41 pm
#18163916
|
|
|
Hi, Thanks for the update. Regards |
|
|
July 17, 2026 at 12:51 pm
#18163922
|
|
|
Dražen Supporter |
Hello, thanks for checking, let me share this back with our team so they can check further. Regards, |
|
July 17, 2026 at 2:17 pm
#18164126
|
|
|
Dražen Supporter |
|
|
July 20, 2026 at 10:43 am
#18166847
|
|
|
Hello, This one is a good example. Regards |
|
|
July 20, 2026 at 11:06 am
#18166862
|
|
|
Dražen Supporter |
Hello, You're right. Looking at your example, it seems that the glossary is being applied correctly in some fields. I'll report this back to our Advanced Translation Editor team so they can investigate further Thank you for your patience once again 🙂 Regards, |
|
July 21, 2026 at 1:06 pm
#18169083
|
|
|
Hello, Pulled the stack trace for the TypeError — it fires inside the REST batch endpoint: WPML_REST_Posts_Hooks::reload_wpml_post_translation(): Argument #2 ($handler) must be of type array, null given WordPress passes null as $handler on batch sub-request paths, and the strict array $handler typehint on your rest_request_before_callbacks callback throws a fatal inside the batch loop. Since the block editor / ATE / "Update translations" flows use the batch endpoint, this fatal may be aborting the very save/update operations we're testing for the glossary issue — which would explain why "Update translations" completes with no changes. Could the developers (a) fix the typehint to tolerate a null handler, and (b) check whether this crash is what's preventing glossary updates from being applied? Full stack trace attached. TypeError: WPML_REST_Posts_Hooks::reload_wpml_post_translation(): Argument #2 ($handler) must be of type array, null given, called in /app/wp/wp-includes/class-wp-hook.php on line 341 |
|
|
July 23, 2026 at 5:32 am
#18172620
|
|
|
Dražen Supporter |
Hi, Sorry for the slightly delayed reply. We checked this further, and the issue comes from DeepL. Unfortunately, this is outside of our control, and we can't influence how DeepL applies glossary entries. This behavior has already been reported to DeepL. This is also mentioned in our documentation:
You can find more information here: We recommend using our PTC translation engine, as it is fully integrated with WPML and is something we can actively improve and fix when issues arise. With PTC, glossary entries works as expected. I know this is probably not the answer you were hoping for, and I'm sorry about that. Unfortunately, some aspects of third-party translation engines are beyond our control. The best fix at the moment is to use PTC if consistent glossary application is important for your translations. Please let me know if you have any other questions or doubts about my reply. Kind regards, |
