SWT FileDialog on Mac not localized [message #1061502] |
Sat, 01 June 2013 09:01 |
Tim Mueller Messages: 1 Registered: June 2013 |
Junior Member |
|
|
Hi,
I am building a SWT application on OS X Mountain Lion 10.8.3 with SWT Cocoa 4.2.
Turns out, the FileDialog is not correctly localized, buttons and labels are always in English, although my system language setting is German.
Other SWT system dialogs like the MessageBox show German buttons therefore I assume SWT has correctly picked up my locale.
Does anybody have an idea how to fix this?
This is the code:
FileDialog fileChooser = new FileDialog(shell, SWT.OPEN);
fileChooser.setFilterPath(toFilterPath(lastPath));
fileChooser.setFilterExtensions(OPEN_FILTER_EXTENSIONS);
fileChooser.setFilterNames(OPEN_FILTER_NAMES);
String filename = fileChooser.open();
Regards,
Tim
|
|
|
Powered by
FUDForum. Page generated in 0.02836 seconds