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.

Tagged: 

This topic contains 17 replies, has 2 voices.

Last updated by Carlos Rojas 4 months, 3 weeks ago.

Assigned support staff: Carlos Rojas.

Author Posts
January 20, 2021 at 4:13 pm

tessH-2

Product category slug is not working correct from language switcher. The slug product-categorie does not translate correctly to product-category when you use the language switcher. This causes no products to display in the English category page.

January 20, 2021 at 5:00 pm
January 22, 2021 at 10:30 am #7905567

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
My name is Carlos and I will be taking this ticket.

1.- Please increase the PHP Memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

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

- Add it above the line /* That's all, stop editing! Happy blogging. */

2.- Please double-check if the issue persists after increasing the memory limit.

Best regards,
Carlos

January 25, 2021 at 8:25 am #7918623

tessH-2

hello,

I have add this line, but it's not solved.

when I go to category hidden link and click english in language switcher we go to wrong category, that's for all categories.

the categories match not correctly.

You understand the issue?

January 25, 2021 at 8:48 am #7918731

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi there,

When I follow the same steps I go to hidden link if that is incorrect, I kindly ask you to provide the correct URL.

Regards,
Carlos

January 25, 2021 at 9:05 am #7918873

tessH-2

yes that's incorrect.
below some examples, please check links below

hidden link - hidden link

hidden link -
hidden link

hidden link -
hidden link

January 25, 2021 at 9:37 am #7919159

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

When I edit the hidden link category I can see that it's linked to any translation, which means that WPML is behaving as expected.

In this case you will need to go to Products -> Categories -> And delete the incorrect categories and link the correct ones.

Regards,
Carlos

January 25, 2021 at 10:10 am #7919433

tessH-2

I linked all main categories correclty, but don't works.
I don't link subcategories correctly, but I think this is not the solution.
Please help me?

January 25, 2021 at 10:14 am #7919461

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I can see that you correctly linked hidden link now you need to repeat the same steps for all the incorrect/unlined categories.

As a workaround you can:
- Create a full backup of the site
- Delete all unlinked categories and the incorrect categories too (in English)
- Create and link the product categories correctly
- Go to hidden link -> Scroll to the bottom and click on the 'Synchronize Product categories assignment in content' button

Best regards,
Carlos

January 25, 2021 at 11:18 am #7920121

tessH-2

when I go to hidden link and switch to Dutch, I see hidden link so far so good.
But goes to category decoratie (hidden link) and switch to english and my screen shows wrong category (hidden link) and not the correct one hidden link

January 25, 2021 at 11:21 am #7920137

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

You need to delete the incorrect category (hidden link) and then edit the correct one hidden link and linked to hidden link

Then do the same for any other category with the same problem.

Regards,
Carlos

January 25, 2021 at 12:06 pm #7920911

tessH-2

but both categories looking good in the admin.

see hidden link

thi is a translation of koorden, it's good

hidden link

this is a translation of decoraties, it's also good.

why it's not working correctly in the frontend?

January 25, 2021 at 12:12 pm #7920975

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I can see both working correctly. I recommend you to flush all cache memory or to visit the site on incognito mode.

Regards,
Carlos

January 25, 2021 at 12:28 pm #7921103

tessH-2

it's working NOT good, please follow these steps below.

when I go to hidden link and switch to Dutch, I see hidden link so far so good.
But goes to category decoratie (hidden link) and switch to english and my screen shows wrong category (hidden link) and not the correct one hidden link

January 25, 2021 at 1:29 pm #7921811

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

Please download the screencast I recorded from this link (hidden link) where you will see what I'm seeing. Let me know if you see any problem.

Regards,
Carlos