Language locals switch issue


Hello!

Im trying to setup a language switch for my website. I thought i did everything correctly but it doesn’t work when clicking on it.

Any idea why ?

Thank you in advance for your help.

Here is my public share link: LINK (language switch in the footer)
Online website : https://www.arbustan.it/

1 Like

@Arbustan can you confirm that your site is on a Basic/CMS/Business plan and that the Localization add-on is activated? Without it, the language switch won’t work.

hi, yes and i paid for the localization plan

Hey @Arbustan ,

When a Locale list element is added, you can see the link is mapped to the page dynamically.

The link element that you have currently is mapped to a static “#” value, you can instead map it dynamically by clicking the ‘+’ icon beside Link as highlighted and it should ideally work.

Hope this helps.

Hi @AJ_Dev, thanks for your answer. Do i need to link every pages then ? I tought this would just swap to the subdirectory of the other language ?

Hey @Arbustan ,

You can add an additional Locale list element just for testing purpose and compare the link element with the element that you have setup for this use-case and see how the ‘Page’ is mapped in the Locale list element, since it is dynamic it should not be an issue. I don’t have access to edit or show the settings via read-only link of your site and I personally have not tested it in my workspace.

But comparing it with a basic Locale list element should help you out in fixing the links, the text value that you have mapped is perfect since it takes the ‘Locale name’ as dynamic value, you just have to link the right dynamic page instead of static URL ‘#’.

Hope this gives you some idea.

yes found it! thanks!

1 Like