Menu on translated page only linking to top
-
Hi,
Great free plugin! I have a simple site with a landing page holding the sections “home”, “About”, “team”, “areas” and “contact” (all listed in the menu and CSS id – linked to the relevant sections of the landing page). In addition, I have two pages, namely “terms and conditions” and “privacy policy” that are also included (listed) in the menu.I have managed deploy Translatepress so that it works for 95% of the site (translating from the starting language being Swedish to the second language being English). However, I do have the following remaining issues:
1. When I switch to English using the language selection on the landing page everything works fine and the translated version appears. However, if i klick the menu I am constantly re-directed to the top of the page and not to the relevant section (it does not scroll down as on the Swedish page). It appears as if the url in the enligsh version does not hold the same CSS-id information as in the Swedish original. For example, if we look at the url of the menu for one of the items in the menu, “Team” (English) and “Medarbetare” (Swedish), the url is as follows:
English: https://wendevel.se/en/
Swedish: https://wendevel.se/#Medarbetare
I assume that for the internal linking to the right section to work the English version should be something like https://wendevel.se/en/#Medarbetare. So from what I can understand, the “en/” is missing.
Also, perhaps it is worth mentioning that when I set “force language in custom links” to “no”, then the linking works but I am brought to the Swedish version.
How can I correct this using the free version?2. If I use the language selection to set to English and then use the menu to go to one of the pages “terms and conditions” or “privacy policy” then I will be directed to the Swedish version of these pages, that is “allm?nna villkor” or “personuppgiftspolicy”. I woudl like it to maintain the language selection also when moving from the landing page to another page of the site.
How is this adjusted?3. Finally, and I am not sure that this problem relates to translatepress but never the less, when in the Swedish version and clicking the menu (i.e. the language version where the liking to different portions of the landing page works) there seems to be a problem with the menu choice “Omr?den”. When clicking this item in the menu there is no floating scroll effect down to the right part of the landing page (as is the case with the other options in the menu) but instead the page reloads and when reloaded the section “omr?den” is displayed. So the right content is displayed but it rather “jumps” than floats there.
Any thoughts on that?
- The topic ‘Menu on translated page only linking to top’ is closed to new replies.