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.

Our next available supporter will start replying to tickets in about 5.31 hours from now. Thank you for your understanding.

We have a longer than usual waiting time. Please make sure to check out the Known Issues page and Minimum Requirements before reporting any issue.
Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

Tagged: 

This topic contains 5 replies, has 0 voices.

Last updated by Bigul 3 days, 10 hours ago.

Assisted by: Bigul.

Author Posts
November 13, 2024 at 12:56 pm #16397683

marcelB-16

Background of the issue:
I am trying to show translated strings on this site: hidden link. This was working until updating to WP 6.7. I have already updated WPML to the latest version.

Symptoms:
Translated strings from .mo are not shown after updating WP to 6.7. I expected to see strings like 'course', 'summary', 'outcomes' translated to Dutch, but instead, I got the untranslated strings in English.

Questions:
Why are the translated strings not showing after updating to WP 6.7?
Is there a compatibility issue between WP 6.7 and the latest version of WPML?

November 13, 2024 at 1:58 pm #16397949

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please tries the following troubleshooting steps after a full site backup{mandatory} and make sure the issue is existing or not.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options of the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables
- Show custom MO Files Pre-generation dialog box>>Generate .Mo files

--
Thanks!

Bigul

November 13, 2024 at 2:34 pm #16398064

marcelB-16

Hi Bigul,

Thanks, I've tried all, but it doesn't help.
Just to be clear: the translated string are coming from an .mo file in our theme. They are linked via load_theme_textdomain().

Thanks!
Marcel

November 14, 2024 at 6:29 am #16400746

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Marcel,

Thank you for the updates. Please visit WPML>>String Translation after a site backup and enable the *Look for strings while pages are rendered* option of *Auto register strings for translation* section(on the bottom of the screen). Then visit the frontend pages and check the issue is existing or not. This option will be disabled in a couple of hours automatically. But will help us to track the issue in similar cases.

Refer to this article for more details - https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#enable-auto-register-strings

--
Thanks!

Bigul

November 14, 2024 at 7:37 am #16400895

marcelB-16

Hi Bigul,

Thanks for the help.
Turns out the issue wasn't in WPML but in the WP 6.7 Core. See this issue:
https://core.trac.wordpress.org/ticket/62337
Should be fixed in 6.7.1, but the workaround proposes in the issue fixes the problem for us.

Cheers,
Marcel

November 14, 2024 at 9:19 am #16401374

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Marcel,

Thank you for the information. I have forwarded it to our team. We will update you the feedback soon. Please wait.

--
Thanks!

Bigul