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)&#x0A;Creates a locale with the given localeIdentifier. }}
+
{{Ctor |  params=localeIdentifier As String | description=Locale(localeIdentifier As String)&#x0A;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
CurrencySymbol fa-lock-32.png GroupingSeparator fa-lock-32.png
DecimalSeparator fa-lock-32.png Identifier fa-lock-32.png
Shared Properties
Current fa-lock-32.png Raw fa-lock-32.png
Constructors

Constructor(localeIdentifier As String)


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