Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Select different language without redirecting

Hi,

I want to have links in my topbar menu for different languages

Whenever I select a language I want to stay on the same page and just change the language session variable acoordinely

for example I am in the following page /bu/bu and pressed "english"

I want to stay in the same page and just change the language session var



85.3k
Accepted
answer

You can use ajax to set the session variable with the new language but I'm afraid without a redirection the texts would not be translated to the selected language.