The script of FONT_SCRIPTS labels in language are written in, from Intl.Locale (ja → 'Jpan',
uk → 'Cyrl', sr-Latn → 'Latn'). Simplified and traditional Chinese both count as 'Hani', and
Korean as 'Hang', since map labels in Korean are written in Hangul.
'user' is the browser's language first, as for text.language. undefined for 'local', which shows
every name in its own script; for a language Intl cannot place in a script; and for a script outside
FONT_SCRIPTS.
npm only. Not exported by the browser bundle (versatiles-style.js) — see the
versatiles-style.js module for what that carries.
The script of
FONT_SCRIPTSlabels inlanguageare written in, fromIntl.Locale(ja→'Jpan',uk→'Cyrl',sr-Latn→'Latn'). Simplified and traditional Chinese both count as'Hani', and Korean as'Hang', since map labels in Korean are written in Hangul.'user'is the browser's language first, as fortext.language.undefinedfor'local', which shows every name in its own script; for a languageIntlcannot place in a script; and for a script outsideFONT_SCRIPTS.npm only. Not exported by the browser bundle (
versatiles-style.js) — see theversatiles-style.jsmodule for what that carries.