-
Notifications
You must be signed in to change notification settings - Fork 1
Localization
Alex Bruch edited this page Dec 5, 2024
·
6 revisions
Entry class has StringProperty name for displayed name. We create Binding in a Constructor with help of L10N class;
The L10N class provides utility methods for handling localization (L10N) in a JavaFX application.
get(String key) : Returns translated String for provided String
createStringBinding(String key) : Creates a StringBinding that fetches a localized string based on the key and locale.
createShortNameBinding(Product product) : Retrieves a short name binding for a Product object based on its database name.