Skip to content

Localization

Ben Ballard edited this page Apr 29, 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 Keys enum. You can use LocalizationHandler.getLocalizedString(String/Keys key) to get a string for the selected language. You can chance 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