Skip Navigation

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

Problem:
The client is having issues with translating the queue, products showing as out of stock in French but not in Dutch, and the language switcher not appearing on the homepage.

Solution:
1. To understand how to translate the queue, we recommend reading our documentation on translating your contents.
2. For products appearing out of stock in French, we need the URL of a product that is in stock in Dutch but out of stock in French. Images added to a product in the original language should be updated in the translation using the translation icon.
3. If the language switcher is not working correctly, we have created a video showing the correct functionality: language switcher video. If the issue persists, please provide the URL where the problem occurs or create a video to demonstrate the issue.
4. The 'out of stock' message might be a false positive or outdated. Checking the links for Dutch and French should show zero 'out of stock' products:

5. The issue with the language switcher not displaying may be due to the theme's custom walker function. We changed the language switcher configuration to display flags in a list format, which resolved the issue. To further investigate, you can:
- Create a full backup of the site
- Activate a default WordPress theme
- Change the language switcher configuration to show a dropdown and compare the results.

If this solution doesn't look relevant, 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 19 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 7 months ago.

Assisted by: Carlos Rojas.

Author Posts
December 1, 2023 at 1:04 pm #14972953

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,

1.- I have created a video showing the steps I'm following where you can see that the language switcher is working as expected: hidden link

If you still see the issue with the language switcher, I kindly ask you to share the URL where you see the problem and/or create a video where the issue can be seen.

2.- Regarding the "out of stock" message, this seems to be a false positive or an outdated value. If you click on the link you will get zero "out of stock" products in both languages:
- Dutch: hidden link
- French: hidden link

December 2, 2023 at 10:56 am #14977287

tomL-29

yesterday it was working now it isn't anymore. see video hidden link
I didn't touched anything and did no changes.

sometimes it"s back

2. i don' know what happened but zall the stock was set to 0. I added the stock back.

December 4, 2023 at 11:25 am #14985945

Carlos Rojas
WPML Supporter since 03/2017

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

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

I'm sorry but I don't understand your video. I can't see the language switcher been used

December 4, 2023 at 11:33 am #14986031

tomL-29

because you can't.. there is no dropdown menu. French is gone. with chrome and bing tested.

hidden link is not working (sometimes it does?) only when you select another page then you can select francais as a language. not on the homepage.

December 4, 2023 at 2:51 pm #14988421

Carlos Rojas
WPML Supporter since 03/2017

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

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

The cause of the issue seems to be the theme that (seems) to have a custom walker function to display the menu, which is causing the language switcher not to be displayed correctly.

I changed the configuration of the language switcher to only display the flags in a list format and now you can see the language switcher working as expected.

To rule out the theme as the cause of this behavior you can:
- Create a full backup of the site
- Activate a default WordPress theme
- Change the language switcher configuration to show a dropdown and compare the results.