KcdMp.env.locale
The player’s language, as a language tag.
A tag such as "en-US" or "cs", the language the player’s game runs in.
Syntax
Section titled “Syntax”KcdMp.env.localestring
Example
Section titled “Example”const czech = KcdMp.env.locale.startsWith("cs");document.documentElement.lang = czech ? "cs" : "en";