A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Language for text with SWT Style Constants
Joined: May 15, 2012
May 15, 2012 03:22:19
I create a messagebox in my Eclipse RCP application like this:
MessageBox messageBox = new MessageBox(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), SWT.ICON_QUESTION | SWT.YES| SWT.NO| SWT.CANCEL);
I have a German OS and German language pack installed.
But when I start the application with an English Locale (-nl en), the messagebox has German text on the buttons for "Yes", "No", and "Cancel".
Where do these texts come from and don't they correspond to the locale?
Thanks and regards
I agree. Here's the link:
subject: Language for text with SWT Style Constants
How to display in Hindi using Internationalisation through struts 1.3
dojotoolkit i18n in struts 2
Help in Jasper Reports
language propertis to xml properties
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014