WebSession.LanguageCode

Looking at this property, I had a question that I probably know the answer to. Does this property parse the HTTP header automatically, and if it does, what happens to the alternate language choices? Does this property only contain the user’s preferred language?

http://documentation.xojo.com/index.php/WebSession.LanguageCode

It’s only the preferred language… and at the moment, it strips off the locale information, so even if it says “en_UK” you still only get “en”.

For what it’s worth, you can also set this property at runtime so if a user comes in as Spanish, but you only offer English or French, you can give them an option to choose which language they prefer.

Thanks, I figured that was the case, I just wanted to confirm.