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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 0 replies, has 2 voices.

Last updated by Long Nguyen 2 days, 2 hours ago.

Assisted by: Long Nguyen.

Author Posts
November 18, 2024 at 7:59 am

georgK-5

Background of the issue:
I am trying to generate .mo files for WPML String Translation on my site hidden link. WPML String Translation uses .mo files instead of database calls, and these files need to be generated for translations to appear on the front-end. The folder permissions are already set to 755.

Symptoms:
There was a problem creating the .mo files. The error message suggests trying again now or later by going to WPML->Theme and plugins localization.

Questions:
Why is there a problem creating the .mo files even though the folder permissions are set to 755?
How can I successfully generate the .mo files for WPML String Translation?

November 18, 2024 at 9:40 am
November 18, 2024 at 10:07 am #16414024

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Here is the forum ticket. After taking a backup file and restoring your site on my localhost, I can generate MO files as well. I suspect that there is an issue on your hosting that prevents WPML plugin from generating MO files to the folder /wp-content/languages/wpml/
can you please contact your hosting support and ask them to monitor the issue when you generate the MO files from the modal box?

Looking forward to your reply.
Thanks

untitled — unterlattmayrhof 2024-11-18 17-06-26.jpg
November 25, 2024 at 6:32 am #16437893

georgK-5

Hello,

my hoster said, that he can't find any error in the logs and the folder permissions are also correct. What can I do now?

Cheers
Petra

November 25, 2024 at 8:04 am #16438065

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I'm asking our 2nd tier support about this issue and I will update you here when I have something to share.

Thanks for your patience.

November 28, 2024 at 1:40 am #16452118

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Our 2nd tier support checked your site and saw that, there is a 403 error for the API URL hidden link in the console so that it could be blocked from the server. Can you please ask the hosting support if they block the Rest API call from WPML?

Also, I created a test server for you in Cloudways (https://wpml.org/hosting-partner/cloudways/). If you are okay with it, we can migrate your content to further debugging without any risk.

To migrate, please follow these simple steps:
- Install this plugin on your site: Cloudways WordPress Migrator (https://wordpress.org/plugins/bv-cloudways-automated-migration/).
- After you activate it, you will be redirected to the migration form.
- Fill it with the information: (find it in the private reply below).
- Agree with the terms of service and click on "Migrate".

More information:
hidden link
You will get an email when the migration starts and one when the migration ends. Let me know when the migration is ready, and I will check the issue on the test site immediately.
The copy of your site will be online, but search engines won't index it (the copy), so you don't have to worry about duplicate content.
The information you share with us will be confidential. Once the problem is resolved, the details you shared with us will be deleted from our records.
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thanks.

November 28, 2024 at 1:42 am