Difference between revisions of "Xojo.Core.Locale"

From Xojo Documentation

(Created page with "{{ClassBox | super=Object | scope=global }} {{Description | text=Used to represent a locale, which describes linguistic, cultural and other locale-specific information. Fo...")
 
Line 21: Line 21:
 
{{Ctor |  params=localeIdentifier As Text | description=Creates a locale with the given localeIdentifier. }}
 
{{Ctor |  params=localeIdentifier As Text | description=Creates a locale with the given localeIdentifier. }}
 
</dynamicTable>
 
</dynamicTable>
 +
 +
== 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 ==
 
== See Also ==

Revision as of 20:15, 23 August 2018

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