Xojo.Core.Locale.Current

From Xojo Documentation

Shared Property (As Xojo.Core.Locale)
The property is read-only.

Xojo.Core.LocaleValue = aXojo.Core.Locale.Current

The user's current locale. For web apps, this is the locale of the server. To get the locale of the browser, use WebSession.LanguageCode.

Sample Code

Get the current locale:

Dim currentLocale As Xojo.Core.Locale
currentLocale = Xojo.Core.Locale.Current