Xojo.Core.Locale.Constructor(localeIdentifier As Text)
From Xojo Documentation
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
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.
A RuntimeException will be raised if an invalid localeIdentifier is passed. |
Links to look up codes:
- The two-letter ISO 639-1 standard
- ISO Online Browsing Platform
- ISO Language Code Table
- International Components for Unicode
Sample Code
Create an English US locale: