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