Xojo.Core.Locale.Constructor(localeIdentifier As Text)
From Xojo Documentation
Constructor
Creates a locale with the given localeIdentifier.
Notes
As an example, "en-US" is used as a localeIdentifier for English in the United States.
Links to look up codes:
- The two-letter ISO 639-1 standard
- ISO Online Browsing Platform
- ISO Language Code Table
- International Components for Unicode
Exceptions
RuntimeException when an invalid localeIdentifier is used.
Sample Code
Create an English US locale: