-
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 ()
The L10N class provides utility methods for handling localization (L10N) in a JavaFX application.
get(String key)
Purpose:
Return translation for provided key
Description:
- 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
Return value: String or null
Usage:
String translatedString = L10N.get("hello");