Difference between revisions of "Locale"
From Xojo Documentation
Line 20: | Line 20: | ||
<dynamicTable id="Constructors" class="methodTable" title="Constructors" columns="1"> | <dynamicTable id="Constructors" class="methodTable" title="Constructors" columns="1"> | ||
− | {{Ctor | params=localeIdentifier As String | description=(localeIdentifier As String)
Creates a locale with the given localeIdentifier. }} | + | {{Ctor | params=localeIdentifier As String | description=Locale(localeIdentifier As String)
Creates a locale with the given localeIdentifier. }} |
</dynamicTable> | </dynamicTable> | ||
Latest revision as of 06:57, 21 February 2022
Class (inherits from Object)
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".
Properties | ||||
|
Shared Properties | ||
|
Constructors | |
|
Notes
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.
See Also
Date class