Skip to main content
The Deno 2 Release Candidate is here
Learn more
method LocaleService.prototype.getDesiredGameLocale
Re-export
import { LocaleService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Gets the game locale key from the locale.json file, if value is 'system' get system locale

Returns

string

locale e.g en/ge/cz/cn