Skip to content

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.

KcdMp.env.locale

string

const czech = KcdMp.env.locale.startsWith("cs");
document.documentElement.lang = czech ? "cs" : "en";

KcdMp.env · the The page group of the index