-
Notifications
You must be signed in to change notification settings - Fork 127
VisUI I18N
Paweł Pastuszak edited this page Mar 11, 2016
·
8 revisions
Every library text can be changed by modifying I18N bundle. 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 in Locales
class:
Locales.setFileChooserBundle(I18NBundle) //sets file chooser bundle
Locales.setDialogUtilsBundle(I18NBundle) //sets dialog utils bundle
Locales.setTabbedPaneBundle(I18NBundle) //sets tabbed pane bundle
Locales.setColorPickerBundle(I18NBundle) //sets color picker bundle (since 0.7.7)
//etc...
Changing bundle will not affect already exiting dialogs and widgets. If new bundle argument is null, a default bundle will be used.
See README for VisUI introduction.