I18N depending on language settings of client instead of server [message #14608] |
Thu, 29 March 2007 09:40  |
Eclipse User |
|
|
|
Hi,
Is there any way (or plan) to support i18n depending on the settings of
the client browser instead of server settings?
In other words, it would be great that RAP application were
internationalized (dynamically)depending on the settings of the web
browser...
Thanks,
Xavier
|
|
|
Re: I18N depending on language settings of client instead of server [message #16354 is a reply to message #14608] |
Fri, 13 April 2007 10:30  |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
actually there is already an infrastructure for I18n. To retrieve the web
browser settings regarding the preferred locales use
W4TContext.getBrowser().getLocale()
or
W4TContext.getBrowser().getLocales().
Note that the externalized Strings cannot be stored within static fields as
usually done in eclipse, since then all subsequent sessions would use the
language of the first initialization :-(
Ciao
Frank
"Xavier" <javier.rodriguez@genaker.net> schrieb im Newsbeitrag
news:ebaeb9783eb101cf26ad178ffe494d01$1@www.eclipse.org...
> Hi,
>
> Is there any way (or plan) to support i18n depending on the settings of
> the client browser instead of server settings?
> In other words, it would be great that RAP application were
> internationalized (dynamically)depending on the settings of the web
> browser...
>
> Thanks,
> Xavier
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02558 seconds