[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: how to suppress the locale info in a swt application

The localisation setting is shown like a label below the shell and below a combo field .
When the combo field is opened for a selection under the boundary the `[ Deutsch/Europa]' info should be suppressed.


Andreas


Viliam Durina schrieb:
Don't fully understand your question, but you could try:

java -Duser.language=de -Duser.country=DE -cp . -jar XXX.jar

Viliam

Andreas Niemeyer wrote / napísal(a):
Hi,

Maybe not a special SWT topic but I guess that some of you might got the same problem.


I have an SWT application which is launched about a shell script running on a Solaris box with motif libs and about an Exceed session.


To getting the application suitable for german umlaut characters, I set the environment before the jar is launched.

The problem is that the shell window - that would be ok - but also Combo widgets display the locale informations below.

This confuses me - does there a property exist to suppress the locale info?

Here the script I use.


#!/bin/sh

LANG=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8

export LANG LANGUAGE LC_ALL LC_CTYPE

java -cp . -jar XXX.jar


Many thanks in advance, Andreas