file: Language.aus

class: Language

[15:7] extends: FxObj

Wraps FXGL's Language, a small value type that pairs an English language name with an optional native-script name. FXGL ships 33 predefined Language constants (ARABIC, CHINESE, ENGLISH, FRENCH, GERMAN, ... VIETNAMESE) plus NONE; the Language.get helper resolves them by name. Pass these to LocalizationService.setSelectedLanguage to switch the active translation.

Methods