Skip to content Skip to sidebar

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

Problem:
You are using the WPML glossary feature and have added 'MILK.' as a glossary word. After adding Italian as a language, 'MILK.' was incorrectly translated to 'LATTE.' despite being in the glossary. The glossary listing appeared empty, and attempts to re-add the word indicated it already existed.
Solution:
We identified a bug related to language mapping in our system. As a temporary workaround, we recommend removing the custom language mapping for the affected language. This action should resolve the issue with the glossary entries not displaying correctly and being incorrectly translated. If you're experiencing this issue, we suggest trying this workaround.

Please note that this solution might be outdated or not applicable to your specific case. 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 the problem persists, please open a new support ticket.

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.

Tagged: 

This topic contains 12 replies, has 0 voices.

Last updated by Dražen 3 months, 2 weeks ago.

Assisted by: Dražen.

Author Posts
August 8, 2025 at 1:21 am #17304212

andreasM-70
Site owner

<b>Background of the issue: </b>
I am trying to use/apply the glossary in WPML. I've added 'MILK.' as a glossary word a week or so ago. Today, we've added Italian as a language, so I expected 'MILK.' not to be translated and the glossary in the backend showing the entry 'MILK.' Link to a page where the issue can be seen: hidden link

<b>Symptoms: </b>
The word 'MILK.' is falsely translated to 'LATTE.' The glossary listing is empty (see hidden link). Even though I'm advised that there are entries (see hidden link). When I try to add the item again, it tells me it already exists. In my local environment, where automatic translations are disabled, I get all entries of the glossary shown, but the tab is in a different location (see hidden link).

<b>Questions: </b>
Why is the glossary listing empty even though there are entries?
Why is 'MILK.' being translated to 'LATTE.' despite being in the glossary?

August 11, 2025 at 5:57 am #17308089

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks for contacting us.

Please try next:

1) The WP memory limit needs to be increased. PHP memory is fine but WordPress uses 40Mb as default. Minimum requirements for WPML are 128Mb: https://wpml.org/home/minimum-requirements/

Add this to the top of wp-config.php to increase WP memory:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

define( 'WP_MAX_MEMORY_LIMIT', '256M' );

2)

- Make sure you have a backup.
- Disable all other plugins and leave active only WPML plugins
- Switch to WP default theme
- Check if the issue still happens.

Let me know how it goes.

Regards,
Drazen

August 12, 2025 at 4:46 am #17311759

andreasM-70
Site owner

1)

I did not do that step before, since my server info already shows 256M being the default value.
Anyhow, I've added the values to my wp-config.

2)

I deactivated all plugins, did not change anything.
I deactivated the theme, did not change anything.

As I described before, both is confirmed by the fact that it does work locally with the same theme and plugins active.

---

I've attached a screenshot. There is a console log in the browser's developer tools that might give you a hint as to where to look.

It says:
Missing or invalid action.value in fetchGlossaryAction
(hidden link)

Screenshot_2025-08-12_161439@2x.jpg
August 12, 2025 at 6:46 am #17312134

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

thanks for getting back.

Please share the access details of your website, so I can log in and take a look.

I’m enabling a private message for the following reply.

We have strict policies regarding privacy and access to your information.

Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/


- Please backup the site files and database before providing us access. 


Thanks,
Drazen

August 13, 2025 at 7:16 am #17315714

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks, I checked but could not find any solution, so I have escalated to our 2nd tier.

They will check and advise further.

Regards,
Drazen

August 13, 2025 at 9:00 am #17316140

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

we have checked and seems there is a bug on our side that we are investigating and will be fixing it soon.

In the meantime if you have a dev version or backup copy, can you please export the glossary terms and import them back in your production website and it should work fine.

Let me know.

Thanks,
Drazen

August 13, 2025 at 9:14 am #17316172

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Just to update we are doing further testing and investigaion, please do NOT delete the glossary entry that says "test 12345 do not delete". at least for now.

I will update you soon.

Regards,
Drazen

August 13, 2025 at 11:21 am #17317009

andreasM-70
Site owner

All good, I'll sit tight.

September 5, 2025 at 4:51 am #17377756

andreasM-70
Site owner

Any news on this? We're currently waiting to implement a new language and we can't go ahead without the glossary working.

September 5, 2025 at 5:33 am #17377779

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I am sorry for the delay, I have not heard back from our team, but I see the fix is in development.

Let me check if there is any workaround in the meantime so you can proceed with your work.

Regards,
Drazen

September 15, 2025 at 11:06 am #17401786

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

our ATE team checked and seems that the issue is fixed, after you modified / removed the custom language mapping.

Regards,
Drazen

September 19, 2025 at 3:33 am #17415096

andreasM-70
Site owner

Yes, the entries seem to appear now.
What exactly was the issue?
I haven't done any changes to translations since I opened the issue.

September 19, 2025 at 5:38 am #17415280

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

it is a bug from our side that we are working on, but for workaround fix was to remove language mapping for custom language.

Regards,
Drazen