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.

This topic contains 7 replies, has 3 voices.

Last updated by jaronR-2 1 year, 3 months ago.

Assisted by: Kor.

Author Posts
July 25, 2023 at 2:57 pm #14097563

jaronR-2

Tell us what you are trying to do?
Im trying to translate a Dutch page to German with the translation editor. However when I click the + button, translate everything and hit complete it says it has created the page. But when I check the url it's not there. Also after refreshing I have to create the translation again, but the translations are saved.
I've also checked the translation queue and it's marked as finished there.

Is there any documentation that you are following?
No just the regular way we've always used WPML.

Is there a similar example that we can see?
I currently have WPML disabled on the live site and only have it locally.

July 25, 2023 at 8:01 pm #14098823

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your contact.

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.

By looking at your debug info, it is possible to see that the WP Memory Limit is set to 40M, while the recommended is 256. Changing it can solve the problem. Please follow these steps:

- Find your wp-config.php file in the root directory of your WordPress installation
- Open the wp-config.php file with a text editor, then locate the line that includes: define('WP_DEBUG', false)
- Then add after it, the below line of code: define ('WP_MEMORY_LIMIT', '256M');
- Save the wp-config.php file, then refresh your website

After this, please follow these steps:

- Just to be safe, make sure to have a website backup before proceeding
- Go to WPML -> Support in your admin dashboard
- Click the “troubleshooting” link bellow the plugin versions list
- Look for the “Clean up” section and hit these buttons:

# Clear the cache in WPML
# Remove ghost entries from the translation tables
# Fix element_type collation
# Synchronize local job ids with ATE jobs
# Synchronize translators and translation managers with ATE
# Set language information
# Fix post type assignment for translations

Now try to resend the job to translation WPML -> Translation Management, complete the translation and check if it'll work fine this time.

Looking forward to your reply. Thank you.

Kind regards,
Mateus.

July 26, 2023 at 8:14 am #14100831

jaronR-2

Hi Matheus,

Thanks, doing all that made it that I could create the translation. However I'm unable to enter the translation editor. Is there a way for force this?

July 26, 2023 at 3:58 pm #14105685

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

Are you being redirected to some other pages when you try to open the Advanced Translation Editor?

If you're still not sure what's going on, 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 forthcoming response will remain confidential, accessible only 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.

Upon reviewing your debug information, I have observed that the PHP limit for your "WP Memory Limit" is lower than the recommended 256MB or the required 128MB, as mentioned in the documentation found at: https://wpml.org/home/minimum-requirements/. To resolve this, I kindly request that you contact your hosting provider and request an increase in the PHP value for you.

July 31, 2023 at 7:55 pm #14129499

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I appreciate your prompt reply. After reviewing the matter, I have successfully confirmed my ability to translate the pages at the provided link: hidden link.

To enable translations, I followed the steps outlined in the documentation here: https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/using-advanced-translation-editor-when-you-move-or-use-a-copy-of-your-site/. Upon logging in to your website, I encountered the banner mentioned in the documentation. Following the instructions, I selected "This is only a copy," and this allowed me to proceed with the translation process seamlessly.

I suggest you try the same procedure on your production site to ensure smooth translations.

August 1, 2023 at 8:00 am #14131079

jaronR-2

Hi Kor,

Thanks for the quick response. Most pages are working properly. And the banner is something we only forgot to change in the staging environment.

However the issue remains in the Service page. I noticed that in this staging environment you can enter the translation editor, however the translation is not saved.

Could you maybe take a look at that?

August 2, 2023 at 8:11 am #14139731

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I could see some issues here hidden link . It's showing that you have an insufficient WordPress Memory limit that is preventing the translations from completing properly.

So, to fix it temporarily, I've duplicated the page before I start translating it as shown in the attached screenshot. Now it works shown here hidden link

Screenshot 2023-08-02 at 4.09.02 PM.jpg
August 4, 2023 at 9:56 am #14154189

jaronR-2

Hi Kor,

Thanks for the info. After duplication the page I was able to translate the page.

After having more trouble with the configuration I finally found what was causing most of the issue: Object cache.
I forgot to clear cache most of the time and that really messed with the configurations. After keeping object cache in mind while making changes it all seemed to work.

Thanks for the help!