From Xojo Documentation

Revision as of 02:37, 19 June 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Shared Property (As Locale)

The property is read-only.

LocaleValue = aLocale.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:

Var currentLocale As Locale
currentLocale = Locale.Current