Class CLocaleImpl
- java.lang.Object
-
- com.squarespace.cldrengine.locale.CLocaleImpl
-
-
Constructor Summary
Constructors Constructor Description CLocaleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
id()
Application's own identifier for the locale, e.g.LanguageTag
tag()
Language tag that has been parsed and resolved.
-
-
-
Method Detail
-
id
public java.lang.String id()
Description copied from interface:CLocale
Application's own identifier for the locale, e.g. 'en_US', 'fr-CA', etc. We preserve this since applications may use it as a unique key to resolve translated messages, and may be forced to use a legacy identifier.
-
tag
public LanguageTag tag()
Description copied from interface:CLocale
Language tag that has been parsed and resolved. Parsing canonicalizes the subtags, while resolution includes substituting language and territory aliases and adding likely subtags.
-
-