Skip to content

Locale Language API

Nenkai edited this page Jul 14, 2024 · 2 revisions

< MLocale Reference Class >

Get Current Language

var lang = main::pdistd::MLocale::getLanguage();
if (lang == "JP")
{
    // ...
}

Set Language

pdistd::MLocale::setLanguage("GB");

Get Orginal Suffix

var suffix = pdistd::MLocale::getOrdinalSuffix(num);
Clone this wiki locally