#
cp.i18n.localeID
As per Apple's documentation,
a locale ID
is a code which identifies either a language used across multiple regions,
a dialect from a specific region, a script used in multiple regions, or a combination of all three.
See the
When you parse a code with the cp.i18n.language
table, and any specified cp.i18n.region
or cp.i18n.script
tables. These contain the full details for each language/regin/script, as appropriate.
You can also convert the resulting table back to the code via tostring
, or the
#
API Overview
Functions - API calls offered directly by the extension
is parse
Constructors - API calls which return an object, typically one that offers API methods
forCode
Fields - Variables which can only be accessed from an object returned by a constructor
code language localName name region script
Methods - API calls which can only be made on an object returned by a constructor
matches