From Xojo Documentation

Revision as of 17:23, 11 August 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

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