Table of Contents

ILocale Interface

Represents a parsed locale identifier with language, region, and script components.

Syntax

Unit: Bcl.Lang

ILocale = interface(IInterface);

Properties

Name Description
Name Gets the normalized locale name composed from language, script, and region.
OriginalName Gets the original locale name string as provided during creation.
Language Gets the ISO 639 language code (e.g., "en", "fr", "zh").
Region Gets the ISO 3166 region code (e.g., "US", "FR", "CN").
Script Gets the ISO 15924 script code (e.g., "Hans", "Hant").