Skip Navigation

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

Problem:
The client reported an issue where posts translated via WPML were not displaying correctly in English on the front-end. Only a few of the translated posts were visible in English despite switching the language.
Solution:
We advised the client to ensure WPML was registered and updated to the latest version. The client should then edit the default language page using Elementor, make a minor change, save it, revert the change, and save again. This process helps in correctly saving the post in the database, especially since the REST API, which is crucial for these operations, was temporarily disabled. After these steps, the client should re-translate the post. If the issue persists, we recommend visiting our known issues page to check for any related problems and ensure all themes and plugins are up to date.

If this solution does not resolve the issue or seems outdated, 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 7 replies, has 0 voices.

Last updated by Dražen 2 weeks, 4 days ago.

Assisted by: Dražen.

Author Posts
May 26, 2025 at 8:39 am #17071692

alexanderI-16

Hi,

Thank you!

There is an issue with posts that have been translated via WPML: when switching the front-end language to English, most remain untranslated and still display in Greek.

Only 4 of the 12 posts are shown in English when selecting English from the language switcher.

Could you please investigate? These posts are located under Company > Our News.

Best regards,
Stelios

May 26, 2025 at 9:04 am #17071904

Dražen
Supporter

Languages: English (English )

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

Hello Stelios,

I checked and I can see translation is done but not applied.

Can you please register WPML on this website, update to latest and then try to re-translate post and check if that helps.

Let me know how it goes.

Regards,
Drazen

May 27, 2025 at 8:04 am #17076152

alexanderI-16

Hi,

I registered WPML on the site by going to Plugins > Add Plugins > Commercial > Register, and added this line to wp-config.php:

define('OTGS_INSTALLER_SITE_KEY_WPML', 'SITE_KEY');

I then updated WPML Multilingual CMS to its latest version and refreshed the translations for the “ISH 2025” post—but no changes appeared on the front end.

Best regards,
Stelios

May 27, 2025 at 8:14 am #17076272

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks, I checked further and I can see that REST API is not enabled for your website, it is needed for WPML to work correctly.

- hidden link

- https://wpml.org/documentation/support/rest-api-dependencies/

Please check with your hosting and make sure it is enabled.

Regards,
Drazen

Support ‹ Sonne Aktion — WordPress.jpg
June 2, 2025 at 9:00 am #17097024

alexanderI-16

Hi,

We temporarily disabled HTTP Basic Authentication for the REST API endpoints.

The REST API was then enabled, but the issue with the translated posts was not resolved.

For the time being, we cannot permanently disable HTTP Basic Authentication, as this is a development site.

Best regards,
Stelios

June 2, 2025 at 9:54 am #17097398

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

I checked and it works fine now, but you will need to edit your default language page with Elementor, make small change to content save, then remove the change and save and then re-translate.

Since probably disabled Rest API also affected saving of post in DB; so it was not saved correctly.

- hidden link

Regards,
Drazen

June 5, 2025 at 5:29 am #17108549

alexanderI-16

Hi,

After enabling the REST API, I deleted the translated post and then re-translated it. That might have caused the slug issue you mentioned.

The site is still under development and the REST API is currently blocked by HTTP Basic Authentication, so I should follow your advice: open the default-language page in Elementor, make a small change and save, undo that change and save again, and then re-translate once the site goes live.

Is that correct?

Best regards,
Stelios

June 5, 2025 at 6:41 am #17108616

Dražen
Supporter

Languages: English (English )

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

Hello Stelios,

yes, that is what worked for me in the mentioned page.

If you still have any issue feel free to contact us.

Regards,
Drazen