file: LocalizationService.aus

class: LocalizationService

[20:7] extends: EngineService

Wraps FXGL's LocalizationService, which translates string keys to the currently selected Language. Aussom users populate the service by calling addLanguageData with a Language and a key-value map (or a ResourceBundle), then switch languages via setSelectedLanguage. Translated strings are read with getLocalizedString. For UI bindings, localizedStringProperty returns a JavaFX StringBinding that updates automatically when the selected language changes.

Methods