[Resolved] Multiple issues with menu and footer translation
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing multiple issues with the translation of menus and footers on their WordPress site using WPML. Specific problems include incorrect display of internal links, untranslated footer, menu items linking to wrong language pages, untranslated text in the slide-in menu, missing flags in the mobile menu, and untranslated buttons. Solution: 1. To translate the footer, navigate to Global Sections and click the pencil icon under each language to add the translated content. 2. For translating menu items, access Appearance -> Menus, find the menu called SaaS Pull Right - Pools, use the admin language switcher to change languages, or click the pencil icon next to the secondary languages to edit and translate the menu item label. 3. To translate specific strings, go to WPML -> String Translation and search for the string "Privecursus is onderdeel van Rijbewijsmarketing.". Translate the strings as needed. 4. To add a menu language switcher to the Off Canvas menu, navigate to WPML -> Languages, click to add the menu language switcher, and select the Off Canvas menu. 5. For correcting links, open the translation of the page using the WPML translation editor, type 'http' in the search, locate the URL, and add the correct translation.
If this solution does not resolve your issue or seems outdated, we 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 further assistance is needed, please open a new support ticket at 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.
Background of the issue:
I am experiencing multiple issues with the translation of menus and footers on my WordPress site using WPML. I am trying to ensure that all elements are correctly translated and linked to the appropriate language pages. I have provided specific examples of where these issues occur on my site, hidden link.
Symptoms:
Internal links are not displaying correctly, the footer is not translated, menu items are linking to the wrong language pages, text in the slide-in menu is not translated, flags are missing in the mobile menu, and certain buttons are not translated.
Questions:
Where can I edit the footer to ensure it is translated?
How can I fix the internal link issue on pages like hidden link?
How do I translate menu items and ensure they link to the correct language pages?
Where can I find the text in the slide-in menu to translate it or set it to auto-translate?
How can I add the flag navigator to the mobile menu?
Where can I translate the 'Inschrijven' button for languages other than English?
Why do links from hidden link direct to Dutch pages instead of English ones?
How can I correct the internal link with anchor text 'motorcycle' on hidden link to go to the English page?
Please let me know where you go on the backend to edit the content in the slide out menu and I'll be happy to try and figure out how to best translate the content.
There are a few things going wrong that we are unable to fix ourselves. Can you please login and see what is going on, and fix issues below?
Can you please point out where exactly I can edit the footer? I can not find it and the footer is not translated at all. I can not find where to do this.
can you help translating the orange button ‘INSCHRIJVEN’, in the menu? Only in English the translation went through.
In the ‘slide-in-from-the-right’ menu there is a text that has not translated. Can you please tell me where to translate this (The text is “Privecursus is onderdeel van Rijbewijsmarketing.
KVK: 97102091
Zwartewaterallee 56
8031 DX Zwolle
Wij zijn niet locatie gebonden. Het kan door heel Nederland! 🍊”
I can not seem to get the flags to appear in the mobile menu. I believe, on this website, the slide-in menu, is the mobile menu. Please could you add the flag navigator in this menu for me?
hidden link on this page is a internal link with anchor text ‘motorcycle’ it goes to hidden link instead of english page? How can this be? There is an english page for this link, why is it linking to the NL version instead?
1. Footer can be found at Glocal Sections. Click the pencil icon under each language to add the translated content.
2. It looks like this button is coming from Appearance -> Menus in a menu called SaaS Pull Right - Pools. Use the admin language switcher to change languages or click the pencil icon next to the secondary languages and edit the menu item to translate the label.
3. Go to WPML -> String Translation and search for the string "Privecursus is onderdeel van Rijbewijsmarketing." (don't include the quotation marks). There you will see the full text and you can translate the strings. I added just one translated sentence in English for testing purpose and it shows on the frontend.
4. I added another menu language switcher by going to WPML -> Languages. Click to add the menu language switcher and added it to the Off Canvas menu.
5. Open up the translation of the page using the WPML translation editor. In the search here, type in http and you will see a list of URL results. There I was able to locate the URL and add the correct translation.
Please let me know if you need any further assistance and I will be happy to help.
1. I thought it was working but it is not. Please fix it for me we can not fix it, why is it so difficult?
I see in the english menu like 50% is translated and the rest not. and Turkish and Polish is not translated at all (see screenshot). I would hereby like to ask you to fix this for us. we tried, we can not do it and this is taking too long.
But i assume this is going wrong on more pages, can you please tell me why and how to fix, or can you fix it for us?
For example on this page there are internal links to hidden link and hidden link, while there are /pl/ pages for these. How can this ever go wrong? I do not understand.
On hidden link it correctly internally links to hidden link, but the link to hidden link does go wrong.
Can you please check and fix? If internal linking gets messed up it can realy damage the seo positions of my client which would be terrible.
I have resolved the footer issue with the translations being flagged for later and now the translations are showing as completed. You can make any changes necessary by going to the Global Sections and clicking the pencil icon next to the secondary languages.
As for hidden link, I just clicked the button in your screenshot and it takes me to hidden link which seems like it is working as expected. If there are other links on this page not working as expected please let me know. All of these links should be translatable in the WPML translation editor. Please let me know if you are not seeing them there and I'll be happy to look further into this.
I think everything is fixed, but on hidden link i still see some dutch text, can you tell me how/why and how to fix (or can you click somewhere to make it translate?)
On this page this text is present 'Bij ons duurt een privé 1 op 1 cursus doorgaans tot 11 uur. Dat is een behoorlijke zit, we verdelen dit daarom standaard over minimaal 3 verschillende dagen. De cursus kan één-op-één bij jou thuis, of online via Teams of Zoom worden gegeven. Je krijgt alle belangrijke informatie die je nodig hebt. Bovendien doe je aan het einde van de laatste cursusdag meteen examen. Vind je het te moeilijk om in 3 dagen tijd in totaal 11 uur de focus erbij te houden? Dan verdelen we het gewoon over 4 dagen. Dan krijg je bijvoorbeeld eerst twee keer in de avond drie uurtjes les, op een andere dag in de middag drie lesuren, en dan op je examendag ‘s ochtends nogmaals drie uurtjes aan privéles net voordat je naar het CBR gaat. Zo blijft de stof optimaal hangen en maak je je kans op in één keer slagen zo groot mogelijk. Het precieze programma van onze privé theorie cursus wordt volledig op jou afgestemd. Wil je je rijbewijs voor een ander voertuig halen? We bieden deze 1 op 1 cursus ook aan speciaal voor het motor- en scooterrijbewijs .'
Another final question, on hidden link for example, there are also some google reviews. is it possible to have these auto translated as well or is this not possible?
Go to hidden link while you are logged in and at the top of the page you will see a link to "edit translation". Click this and you can see that there is Dutch content in the English translation fields. You can replace that text here. I tested with the first sentence and it worked,
On hidden link, how are you inserting these reviews in the original language? I couldn't see it on the page edit screen anywhere.