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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: 

This topic contains 37 replies, has 3 voices.

Last updated by Kor 5 days, 9 hours ago.

Assisted by: Kor.

Author Posts
October 16, 2024 at 11:18 am #16295036

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. The issue still persists even after deactivating all plugins and switching to the default theme.

I will need to escalate this. I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

October 16, 2024 at 2:00 pm #16296109

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've escalated this and I will come back to you once I've feedback.

October 17, 2024 at 11:40 am #16299921

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Could you please recheck now and let me know if everything is working fine for you? I've tested it on the homepage and I'm able to translate to Italian and to any other languages without issues.

October 18, 2024 at 6:59 am #16302838

Vladimir

Can you please explain me what was the issue and what you did to fix the problem, so I can do it on production.

Thanks.

October 18, 2024 at 10:48 am #16303907

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Our 2nd Tier support fixed the issue on your server database. This is what they mentioned.

The translators have the language pair "fr-be" but that kind of language code is not present on the site.
Trying to translate a page, tries to load the translation pairs for the user. As such language is not found, the "code" is return as false and this produces the error that we have here. A simple fix is to remove or edit the language pairs for the user - user meta key wp_language_pairs
Another possibility is adding a custom language with code "fr-be" in our case.

The attached screenshot is the value and we've changed it to the below to fix it.

a:1:{s:2:"en";a:1:{s:2:"fr";i:1;}}
image (4).png
October 21, 2024 at 7:56 am #16310603

Vladimir

Now when I add new text block on the homepage of english(default language), and when I go to translation editor on other languages I have the option to translate the page, when I try to translate on german it just puts english content in the german section, so anytime I save german translation I lose all of the translation, and the new element is not being translated on any languages. sending screenshots.

wpml-newsection.png displays the section in english page, wpmlpulling english... displays the advanced translation editor pulling the english language in german place when trying to edit the existing german translation, wpml-newsection2.png displays the german homepage where is visible that despite being translated in advanced translation editor it's showing the original english wording, and that's the same for every language

wpml-newsection2.png
wpmlpulling english translation.png
wpml-newsection.png
October 21, 2024 at 4:51 pm #16313786

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

From the screenshots you shared, are you indicating that you initially translated the page into German without any problems?

However, whenever you edit the translations, the primary English content is being copied over to the German version, thus replacing the previously translated text?

October 22, 2024 at 6:21 am #16315149

Vladimir

Yes, that is exactly the problem.

October 22, 2024 at 10:35 am #16316511

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I'm working on the homepage here hidden link and this is what I've done in an attempt to replicate the issue.

1. I've made minor edits to the German language translations as a test as shown in the attached screenshot.

2. Then, I made some edits to the primary language English.

3. I retranslated the German language page and all my previous edits are still there.

I cannot replicate the issue you had there. Maybe you can give it another try? Even better if you can record a short screen recording of the issue.

Screenshot_89.png
October 23, 2024 at 6:55 am #16320063

Vladimir

Hey, I have screen recording, you can see the issue on french homepage. Here is the link to the screen capture:

hidden link

October 23, 2024 at 5:41 pm #16323030

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

I previously tested the German language, and the translated content did not revert back to English.

I've also reviewed the French translation, and some portions have changed back to English. Could you please retranslate it to French for testing purposes?

After that, I’ll attempt to make edits to the primary English language page to see if that’s affecting the translated French version.

October 25, 2024 at 11:35 am #16330396

Vladimir

It's back to french content. Can you please speed this up, because this is a really big inconvenience for the client

October 28, 2024 at 8:46 am #16336376

Vladimir

Is there any news regarding this?

October 28, 2024 at 11:25 am #16337450

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I apologize for the delay due to the weekend. Please allow me to check and I will revert shortly.

October 29, 2024 at 7:17 am #16340328

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've checked your French homepage here hidden link and I can see that most of the contents are still in English. Could you recheck?

Screenshot_134.png