Skip Navigation

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

Problem:
The client was experiencing an issue where both the top and bottom language switchers were only showing the original language available, instead of all the languages.

Solution:
We advised the client to ensure that the home page is completely translated. The language switcher by default only displays languages/flags for which translations are available. If the home page is not translated, the language switcher will not show the other languages.

If the solution provided here does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we encourage you to open a new support ticket. We also highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us on the WPML support forum.

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

Last updated by Waqas Bin Hasan 8 months, 2 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
March 11, 2024 at 10:11 pm #15397444

ronaldT-5

I am trying to: Stay sane

Link to a page where the issue can be seen: hidden link

I expected to see: Language switchers back to normal

Instead, I got: Both, top and bottom, language switchers showing only the original language available

Screenshot 2024-03-11 at 6.10.03 PM.jpg
March 11, 2024 at 10:13 pm #15397460

ronaldT-5

Sorry, wrong URL provided. Try staging14.home-alarm.ca instead.

March 11, 2024 at 10:57 pm #15397494

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting the support.

Looks like the home page at hidden link hasn't been translated, because if it is translated the French link at hidden link should be working.

Please make sure it is completely translated. The language switcher, by default, only shows languages/flags for available translations.

Regards.

March 12, 2024 at 12:13 am #15397512

ronaldT-5

Okay, I see that all my pages have 0% to 3% translation status. Strange!

March 12, 2024 at 3:27 pm #15400347

Waqas Bin Hasan
Supporter

Languages: English (English )

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

If you're using automatic translation, then once you publish a page, wait for the translation to complete, before making more changes.

Otherwise, you can open the translation in ATE, translate it manually or automatically within the ATE and complete it.

Once the translation of the home page is complete, the language switcher should be working fine.

March 12, 2024 at 3:47 pm #15400476

ronaldT-5

I fully understand the process. I usually translate myself, but use translation credits to go faster.

I just find it odd that my previous translations were no longer taken into account. Some of it still there, but had to be reprocess for WPML to count them as translated.

March 12, 2024 at 5:54 pm #15401011

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for the updates.

That perhaps happened due to a broken process or connection, which may happen, since everything in WordPress shares the same ecosystem and may interfere at times (i.e. a conflict or etc).

So did sending again for translation or updating manually, helped fixing the problem?

Please let me know and I'll try my best to help you further.

March 12, 2024 at 6:35 pm #15401138

ronaldT-5

Yes, I can easily reprocess (and retranslate some of) the documents one by one and thereby solve the issues.