Skip to content Skip to sidebar

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
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

Tagged: 

This topic contains 6 replies, has 0 voices.

Last updated by Christopher Amirian 10 months ago.

Assisted by: Christopher Amirian.

Author Posts
April 27, 2025 at 8:44 pm #16972737

benediktH-3

Background of the issue:
I have a main site in German with English as a second language using its own domain. I manually translate pages in the admin by clicking the plus icon. This method works for almost all pages except the homepage. Both language versions of the homepage exist in the admin and are defined as the home page for their respective languages.

Symptoms:
The English homepage is just a copy of the German content, and any changes I make to it don't get saved.

Questions:
Why can't I independently translate the homepage in the secondary language?
Why are changes to the English homepage not being saved?

April 28, 2025 at 3:29 pm #16975678

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Welcome to WPML support. Please make sure that you set the page as a manual translation following the steps below:

https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Also test if the same thing happens on a directory mode:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > WPML > Languages > Language URL Format".
- Check the "Different languages in directories" checkbox.
- Click the "Save" button.
- Go to "WordPress Dashboard > Settings > Permalinks".
- Click the "Save" button to flush the permalinks cache.

Thanks.

May 2, 2025 at 11:19 am #16989305

benediktH-3

Hello Christopher, many thanks for the reply.

It seems that the issue is caused by the WPML string translation plugin and the setup. If I have string translation active, I can translate the secondary language frontpage, but as soon as I save the frontpage in the primary language, the content of the secondary page gets overwritten.

If I disable the WPML string translation plugin, then it works fine.

Anything else you can recommend to check? The same problem remains if I switch to different languages in directories.

May 4, 2025 at 2:28 pm #16993321

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you very much. I searched our issue tracker and we have a report like the one you mentioned.
The workaround at the moment is to not publish the translated post before the original post.

So basically make sure you publish the original post first and then the translation.

I will inform you if there is a fix for this in the upcoming releases

Thanks

May 6, 2025 at 10:26 am #17000939

benediktH-3

Hello Christopher, thanks for the reply.

Any indication on when this will be solved, it's a major issue as we can't reliably translate the frontpages. We need to be able to edit the frontpage in both languages!

I tried to get around it by not making the frontpages attached to each other, but then both of them redirect to the frontpage in the secondary language/domain.

Thankful for more information.

May 6, 2025 at 10:30 am #17000961

benediktH-3

At the moment, I don't seem able to change the secondary language frontpage at all again.

There are also issues translating the site logo via string translations in the Astra Theme.

May 6, 2025 at 3:31 pm #17002658

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for following up. We actually released an errata today which is most probably the same thing that you are experiencing regarding the String Translation plugin:

https://wpml.org/errata/editing-translated-posts-directly-can-result-in-lost-content/

For now the only workaround is to deactivate String Translaiton while editing anything in the translate language using the default WordPress editor.

We will release a fix but I do not have an ETA at the moment.

Thanks.