I want to change store view programmatically same as like when we switch store from store switcher at front end side.
I try this answer. But, it's not working. It's just change store view name from store switcher dropdown.
How to implement it?
Any help would be appriciated.