Hi,
I have an error with the localePicker. When I choose a language, I get the following error;
AJAX handler 'onSwitchLocale' was not found.

According to this thread, is a October related issue. But I just want to be sure, how can I resolve it?
Please note that mysite.com/{langcode}/ works.
Thanks
Include the [localePicker] component in your layout/page.
<!-- /themes/your-theme/layouts/name-of-your-layout.htm -->
description = [...]
[localePicker]
==
If you include links having a data-request="onSwitchLocale" attribute on a partial, you still need to include this component in { the layout of the page | the page itself } where the partial is rendered.
Thanks, but a bit late :smile:
Thanks. Not late for me :-)
Nice one! Thank you
Thank you :D
Most helpful comment
Include the
[localePicker]component in your layout/page.If you include links having a
data-request="onSwitchLocale"attribute on a partial, you still need to include this component in { the layout of the page | the page itself } where the partial is rendered.