• Resolved MisterH

    (@hmarksthespot)


    Hi there, I am trying to better understand the Force language in custom links, Does it mean that the links of the site that are lets say in English as in website.com/blog will be changed to a different link for the selected language? same as blog posts as website.com/wonderfulmonth-of-august2020 will not be translated to website.com/thenativelanguage and such? And if so is this done automatically even if auto translations are disabled?

    Or is it just adding a slug (en/de/ru/es) before the link? What exactly does this function do? I cant understand reading the documents.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello there,

    The “Force language in custom links” option ensures that any custom link you add in your site will be properly displayed on the translated versions as well.

    I’ll give an example to better explain this.

    Let’s say that in a post you added a text and on that text you added a link to a different page from your site. Without the “Force language in custom links” option, that link will be seen the same on all secondary languages.
    So if you are on Spanish (a secondary language) and clicking on that like, you will be sent to the right page, but on the default language.
    If the “Force language in custom links” option is enabled and you press on that link (while on the Spanish version) it will send you to the right page in the Spanish version.

    In short, that options ensures that the language parameter is always added in custom links.
    A “www.site.com/contact” page will be seen as “www.site.com/es/contact” on the Spanish version.
    This option takes care of all your custom internal links.

    Best regards,
    Cristian

    Thread Starter MisterH

    (@hmarksthespot)

    Thanks, when reading up more on it, I understood what it did, Essentially it is so that if someone selects lets say the second language, then they go on clicking any links, they dont have to select the language again in the new link as it will automatically take them to the translated (es, de etc ) link by adding that parameter to the link when clicked or so.

    🙂

    Very well thought out.

    Hello,

    Yes, having it enabled will ensure that a user doesn’t have to change the language each time they click on a different internal link.
    This functionality works by default with the menu elements, enabling the option only ensures that custom links will also function this way. By custom links, I mean any link that you add on a text/image or a custom menu element.

    Best regards,
    Cristian

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Force language in custom links (explain)’ is closed to new replies.