Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to manually translate a product in WooCommerce, but although you receive a notification that the translation was successful, you see a yellow gear icon and the page is not published.
Solution:
We found that the issue occurs when JWT Auth is active, which seems to have additional configurations affecting WPML's functionality. We recommend updating JWT Auth and ensuring that all plugins and themes are up-to-date. Please check if this resolves the issue in your production environment.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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 4 replies, has 2 voices.

Last updated by Lucas Vidal de Andrade 7 months, 2 weeks ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
May 10, 2024 at 2:45 pm #15615396

arneD-6

Hello,
I tried to manually translate a product in WooCommerce, but it didn't work. Although I receive a notification that the translation was successful, but I see a yellow gear icon and the page is not published. I encountered the same issue on the test site, where automatic translation worked immediately. However, it's important to me that I can translate pages manually. Can you possibly help me with this?

Kind regards

Screenshot from 2024-05-10 16-39-02.png
Screenshot from 2024-05-10 16-37-58.png
May 10, 2024 at 6:34 pm #15616175

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

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

Hello,

Thank you for sharing the details. There are 2 things we can do to solve this issue:

First, please go to WPML > Support and click on the "Troubleshooting" link. There you'll find the "Clear cache in WPML" and the "Synchronize local job ids with ATE" buttons. Please click on them (check image)

After that, please increase your memory. I checked your debug info and noticed that your website doesn't have the minimum memory required for WPML to work. WPML requires a memory limit of at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set WP Memory Limit in your wp-config.php file by adding the following code:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

See:

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

for details. Increasing WP Memory may help improve the performance and sometimes also help resolving such issues.

Finally, update the translation again. Tell me if that solves the issue for you.

Troubleshooting _ Sandbox _ WordPress.jpeg
May 17, 2024 at 2:53 pm #15640265

arneD-6

Hello,
I apologize for replying so late.
I first tested it on my test site and it actually worked immediately and also with pages created in the future!
However, it didn't work on the production site, so unfortunately the problem is still there.

I hope you can help me with this.
Kind regards

May 17, 2024 at 7:21 pm #15640862

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

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

Can you please provide me with access to the production website?

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:

hidden link

May 21, 2024 at 7:30 pm #15652485

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

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

Hello Leon,

Thank you for sharing access. After a thorough investigation, I was able to found that the issue only happens when JWT Auth is active. It seems that it has some additional configuration that is affecting the functioning of WPML.

After updating it, the product translations were saved and updated as expected. Can you please check if that solves the issue in the production environment? It's always a good practice to have all plugins and themes to the latest version, before checking any issues.

Best regards,
Lucas Vidal