Detect Language

Hello
I want to detect the language of the visitors of the site in a web app in xojo and change the language according to the language detected .
can anyone help me with this?
Thanks!

Session.LanguageCode.
But if you use Dynamic Constants for your localized strings the language of your WE app will change automatically :slight_smile:

You can also get a specific language of a dynamic constant using this:

str = kHelloWorld("sv")

This should give you the swedish constant of ‘kHelloWorld’. But again, this is done automatically otherwise.