Difference between revisions of "Xojo.Core.Locale"

From Xojo Documentation

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{DeprecatedItem|version=2020r2|replacement=[[Locale]]}}
 
{{ClassBox
 
{{ClassBox
 
| super=[[Object]]
 
| super=[[Object]]
Line 19: Line 20:
  
 
<dynamicTable id="Constructors" class="methodTable" title="Constructors" columns="1">
 
<dynamicTable id="Constructors" class="methodTable" title="Constructors" columns="1">
{{Ctor |  params=localeIdentifier As Text | description=Creates a locale with the given localeIdentifier. }}
+
{{Ctor |  params=localeIdentifier As Text | description=Xojo.Core.Locale(localeIdentifier As Text)&#10;Creates a locale with the given localeIdentifier. }}
 
</dynamicTable>
 
</dynamicTable>
  

Latest revision as of 22:32, 20 February 2022

Class (inherits from Object)

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 Text)


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

Xojo.Core.Date class