From Xojo Documentation
New in 2019r2
Used to represent a locale, which describes linguistic, cultural and other locale-specific information. For example, a locale might specify "English as spoken in the United States, using the metric system".
For web apps, this returns the locale of the app running on the server. To get the locale of the connected user from the browser use WebSession.LanguageCode.
For more information on localization, refer to the Localization topic in the User Guide.