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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
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 34 replies, has 0 voices.

Last updated by Kor 1 week ago.

Assisted by: Kor.

Author Posts
October 9, 2024 at 8:06 am #16268404

Vladimir

Background of the issue:
I am trying to add a translation to the master page. The default language on my site is English, but when I choose to translate the page, it sets the original language to Italian instead of English. You can see the issue on this page: hidden link

Symptoms:
The original language is set to Italian instead of English when translating the page. I expected the translation to be from English to Norwegian, but it is from Italian to Norwegian.

Questions:
Why is the original language set to Italian instead of English when translating?
How can I ensure the translation is from English to Norwegian?

October 9, 2024 at 2:54 pm #16271333

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thank you for contacting WPML support. Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Would you please share screenshots or a screen-recorded video while reproducing the issue?

Best regards,
Osama

October 10, 2024 at 11:30 am #16274522

Vladimir

Default language on the website is english(screenshot: wpml1.png), on every translation original language is english(screenshots: wpml2.png,wpml3.png), only when Norwegian language is being translated it sets the original language as Italian(screenshot: wpml4.png), this should be resolved, we need to have the english source(original language) on Norwegian translation aswell.

wpml4.png
wpml3.png
wpml2.png
wpml1.png
October 11, 2024 at 6:17 am #16277544

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

October 11, 2024 at 10:56 am #16278930

Vladimir

Also, when you go and try translate the german language through translation editor it fills it with english content, despite the fact that the german is already translated

October 11, 2024 at 3:53 pm #16280511

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I've checked your homepage here hidden link and when I click on the Italian page, it crashes as shown in the attached screenshot.

Could you please reduce the PHP version to 8.2 or below?

Screenshot_27.png
October 14, 2024 at 7:46 am #16284264

Vladimir

Hey it's changed to 8.1, you can check

October 14, 2024 at 8:44 am #16284529

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I'm getting this error now. Looks like you have insufficient memory on the server. Could you check?

[14-Oct-2024 08:43:18 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 372736 bytes) in /home/forge/mip.the-northwest.com/public/wp-includes/class-wpdb.php on line 2315

October 15, 2024 at 7:26 am #16288868

Vladimir

Hey the memory size is increased, you can check now.

October 15, 2024 at 10:06 am #16289865

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I'm still getting the same error. Could you share this debug log file to your hosting provider? They should know what's going on.

Screenshot 2024-10-15 at 6.05.26 PM.png
October 15, 2024 at 1:26 pm #16291039

Vladimir

It works on our side,it's hosted on our server, I installed plugin to check the memory limit, and it's set to 1024MB, and the site is trying to allocate 200mbs, so this should be working, It works on our side, can you please try again.

October 15, 2024 at 3:09 pm #16291564

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

You fixed the memory issue but the PHP becomes 8.3 again. Could you reduce only the PHP version to 8.1?

October 16, 2024 at 7:22 am #16293531

Vladimir

My apologies, it's changed to 8.1

October 16, 2024 at 7:52 am #16293833

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

Now I'm getting the memory error again.

16-Oct-2024 07:51:01 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 372736 bytes) in /home/forge/mip.the-northwest.com/public/wp-includes/class-wpdb.php on line 2315

You need to switch to PHP 8.1 and increase the memory limit for this version. The configuration should be separated. If you're still not clear how to do this, maybe you can consult your hosting provider.

October 16, 2024 at 10:11 am #16294704

Vladimir

That's impossible, I can open the page normally, and the memory limit is set to 1024mb and its using the 276mbs, screenshot attached.

snippet12223.png