Multisite language selector


I would like to as a question with language changing in V3

When I change a language in front-end how can achieve to reload the page. Othervise my javascript codes does not rerun.
html language attribute does not change for the selected language.

Thank you,

In my case I set my html lang attr like this:

<html lang="{{ this.locale ? this.locale : 'en' }}">

I just confirmed that it changes accordingly when I choose the site.