This thread is resolved. Here is a description of the problem and solution.
Problem:
The client's website has two languages, English as the primary language and Finnish as the second language. The issue is that when clicking on product categories in the header on the Finnish version of the site, the language switcher does not appear, and users cannot switch between languages.
Solution:
First, we noticed that the link from the menu goes to a non-existing category page, which is why the language switcher was not appearing. The correct link should use the 'tuote-osasto' slug instead of 'category'.
We advised the client to:
1. Go to the Finnish menu and adjust the URLs manually.
2. If it's a regular WordPress menu, edit it from Appearance → Menus, and select the second language next to the pencil icon. For more details, see our documentation on translating menus.
Additionally, we ran WPML > Menu Sync, and it resolved the issue. We also suggested that the client manually adjust the Finnish category names to be shorter if they are too long and causing layout issues.
If this solution does not apply to your situation because it might be outdated or not relevant to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please contact us in 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.
This topic contains 5 replies, has 3 voices.
Last updated by 1 year, 4 months ago.
Assisted by: Dražen.