Skip Navigation

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

Problem:
Translation of store urls don't work

Solution:
Increasing WP Memory Limit helped fixing the problem.

Relevant Documentation:
https://wpml.org/home/minimum-requirements/

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.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 7 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 6, 2023 at 2:46 pm #13961281

velimirV

I translated store urls but they aren't translated.

hidden link it need to be hidden link
hidden link

July 7, 2023 at 11:54 am #13967727

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Please update WP Memory Limit to improve the performance. You can set WP Memory Limit in your wp-config.php file by adding following code:

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

Remember to add these lines before the line where it says:
/* That's all, stop editing! Happy publishing. */

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

Once this is fixed, please check this guide and see if it helps around translating the product post type part of URL (i.e. hidden link.

Also make sure there's no redirection plugin or code is in place, as well as, translations are completed? You can also try the following:

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.

- Deactivate all plugins except WPML's, WooCommerce and the page builder.
- Switch to a standard theme.
- Check if issue is still there.

Please let me know how it goes.

Regards.

July 8, 2023 at 9:57 am #13971171

velimirV

This did the trick. After increasing memory limit all works fine.

I have another problem, on anther website hidden link Number of products don't match with language number of products. They are imported and it looks like they are hanging somewhere.

July 10, 2023 at 8:54 am #13975773

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for confirming, I am closing this ticket as resolved.

For the other question, I recommend opening a separate ticket because as per forum policy we can only handle one issue per ticket. So others looking for a particular solution can find it easily.