#cp.i18n.script
Provides the set of ISO 15924 language scripts. The return value can be iterated as a list, or you can find a specific language by either its four-character code (alpha4
), three-character numeric code (numeric3
), local name, or English name.
For example:
This will return a table containing the following:
alpha4
- The 4-character script code (eg. "Hani", "Arab").date
- TheYYYY-MM-DD
date the script was added.name
- The name in English (eg. "Arabic", "Afaka").numeric3
- The 3-character language code (eg. "500", "050").pva
- The Property Value Alias. Not available on all scripts.
Notes: This data was adapted from wooorm's code under an MIT license.