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 1 reply, has 2 voices.

Last updated by Mohamed Sayed 9 months, 1 week ago.

Assisted by: Mohamed Sayed.

Author Posts
February 24, 2024 at 5:03 pm #15340752
fF-4

I have a language url part like so for Dutch: hidden link. I did the same for Brazilian-Portuguese which resulted in /pt-br/.
I then removed Brazilian Portuguese and added regular Portuguese instead. However, that language switcher item does not have /pt in the URL, but the default url: hidden link instead of hidden link. I need to recalculate the URL or something?
See attached what I see when hovering over Portuguese.
Also, how can I remove the value between the () behind Portuguese.

New threads created by Mohamed Sayed and linked to this one are listed below:

https://wpml.org/forums/topic/split-changing-the-language-name/

Screenshot 2024-02-24 175613.png
February 25, 2024 at 5:53 pm #15341788

Mohamed Sayed

Hi,
Thanks for contacting WPML support.

1. Please increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

2. Go to WooCommerce > WooCommerce Multilingual & Multicurrency > Status tab > WooCommerce Store Pages section, then check if the Shop page is not translated into Portuguese.

3. For better support, we handle one issue per ticket so I created a new ticket for the other question you mentioned: https://wpml.org/forums/topic/split-changing-the-language-name/

Kind regards,
Mohamed

Screenshot_723.png