A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Language for text with SWT Style Constants
Help in Jasper Reports
dojotoolkit i18n in struts 2
How to display in Hindi using Internationalisation through struts 1.3
language propertis to xml properties
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014