A simple trick to configure multi-lang in your app witouth external apis
Once the request to access a page is made, if the user didn’t select any language, a default one is selected(french actually). Considering the user selected a language before, next requests will just reuse his choice which is even saved in the session.
All is contextual, meaning the visitor will remain on the same page.