First install [OctoberCMS](https://octobercms.com/) using composer and git and then install [translate](https://octobercms.com/plugin/rainlab-translate) plugin with two language English and Spanish. But I have an error with the localePicker. When I choose a language, I get the following error;

```
AJAX handler 'onSwitchLocale' was not found.

```

[![enter image description here](https://i.stack.imgur.com/UqbWv.png)](https://i.stack.imgur.com/UqbWv.png)

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