Skip to content

Localization

Ben Ballard edited this page May 4, 2021 · 2 revisions

The localization handler, which can be replaced, is used to localize string used in the engine. You can find a complete list of keys in the LangKeys enum. You can use LocalizationHandler.getLocalizedString(String/LangKeys key) to get a string for the selected language. You can change the language by running changeLang(String langkey). The default language is United States English, with has a lang key of "en_us". You can add a language by running addLang(String langkey, HashMap<String, String> lang).

Clone this wiki locally