• Resolved hagendazz

    (@hagendazz)


    Hi,
    A bit over a week ago i posted this question along with a few others. Potentially the question was too long because i have seen no reply. Therefore, i have broken the questions up in two posts. (My apologies for spamming but i figured that breaking it up would make each question more appealing to answer).

    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 issue:

    When I switch to English using the language selection on the landing page almost everything works fine and the translated version appears. However, if i klick any of the options in 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?

    Thank you in advance,
    Wenzel

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    Hello there,

    Thank you for reaching us!

    As I had a look on your website, the menu items in English redirect to the same link:https://wendevel.se/en/

    What you can do is to insert the links like the Swedish ones and try again.

    Also, you can run a compatibility test to see what is really happening:

    ??*Briefly* disable all other plugins and enable the default Twenty Twenty One theme. Please also disable all add-ons. If this fixes the problem, as it probably will, enable everything one by one, checking each time to see when the problem returns.

    Please let us know when you find the conflict so that we can take a look and see what we can do about it.

    Kind Regards,

    Thread Starter hagendazz

    (@hagendazz)

    Hi and thank you for the reply!

    Absolutely, as mentioned in my question, amending the links in the english version is exactly what i would like to do. I now realize that i might have been a bit inaccurate in my question. I wrote in the question:

    “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.”

    I suppose the question is rather how to add the CSS-id to the english version. What is missing in the english links is the CSS-id. I suppose it should read https://wendevel.se/en/#Medarbetare but it appears as if the “#Medarbetare” portion is missing in the english version.

    I konw this is the problem and the question is how the links are changed. When i go to the menu builder in wordpress i do not find the option to change the urls (CSS-id) for the English version. Where/how do i do it?

    Best regards,
    Wenzel

    • This reply was modified 2 years, 10 months ago by hagendazz.
    Thread Starter hagendazz

    (@hagendazz)

    Any thougts?

    Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    Hello there,

    There might be something wrong with the menu because every section links to yourwebsite.com/en/.

    Try to run the compatibility test and see how it goes.

    Kind Regards,

    Thread Starter hagendazz

    (@hagendazz)

    Hi, thank you.

    Yes i know that the lack of a proper url is likely the root cause of the problem.

    What i am asking is how to change the url that the respective menue button directs to the right place. For example instead of yourwebsite.com/en/ it should be yourwebsite.com/en/Team.

    Can you tell me how this is done?

    Which is then compatibility test you are referring to? How do i perform it?

    /Wenzel

    Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    Hello there,

    The steps you need to follow to do the compatibility test are:

    ??*Briefly* disable all other plugins and enable the default Twenty Twenty One theme. Please also disable all add-ons. If this fixes the problem, as it probably will, enable everything one by one, checking each time to see when the problem returns.

    Also, try to create a new menu and see if that menu works better than this you have right now.

    Please let us know when you find the conflict so that we can take a look and see what we can do about it.

    Kind Regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Menu on translated page only linking to top’ is closed to new replies.