-
Notifications
You must be signed in to change notification settings - Fork 1
Localization
Alex Bruch edited this page Dec 5, 2024
·
6 revisions
Each instance of Entry ()
#L10N class
The L10N class provides utility methods for handling localization (L10N) in a JavaFX application.
Return translation for provided key
- Creates 3 resource bundles for current locale based on .properties files inside of
resources/L10N/[language]where [language] is ISO3 name (eng, deu, ...) of language - Iterate through each bundle and search for provided String
key - Returns translated String or null
String or null
String translatedString = L10N.get("hello");