Skip to content

VisUI I18N

Pawel Pastuszak edited this page Dec 7, 2018 · 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.