-
Notifications
You must be signed in to change notification settings - Fork 127
VisUI I18N
Paweł Pastuszak edited this page May 22, 2015
·
8 revisions
VisUI 0.7.0 introduces better support for I18N, now every library text can be changed by modifying bundle.
The default bundles are located here: I18N
If you want to change a text in VisUI, copy bundle file to your project and change what you need. Then load your new bundle and set it for VisUI:
VisUI.setFileChooserBundle(I18NBundle) //sets file chooser bundle
VisUI.setDialogUtilsBundle(I18NBundle) //sets dialog utils bundle
VisUI.setTabbedPaneBundle(I18NBundle) //sets tabbed pane bundle
VisUI.setColorPickerBundle(I18NBundle) //sets color picker bundle (since 0.7.7)
Changing bundle will not affect already exiting dialogs / widgets.
If new bundle argument is null, a default bundle will be used.
See README for VisUI introduction.