Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Internationalization problem
Internationalization problem [message #448443] Tue, 25 April 2006 00:56 Go to next message
Eclipse UserFriend
Hi,
I need to change the title of my views according to the language.
As far i understand it can be done by making different plugin property files like plugin.properties and plugin_de.properties.
This method is working fine when I provide the locale as program argument,
but in my application user can choose the locale at the time of the login.
I have tried to change the locale by changing the system property "osgi.nl". but it was not working.

So what should i do in this scenerio.

thnx
Re: Internationalization problem [message #448887 is a reply to message #448443] Sat, 06 May 2006 02:13 Go to previous messageGo to next message
Eclipse UserFriend
thanks
Re: Internationalization problem [message #448894 is a reply to message #448443] Sat, 06 May 2006 11:10 Go to previous messageGo to next message
Eclipse UserFriend
Rohit Khariwal wrote:
> Hi,
> I need to change the title of my views according to the language.
> As far i understand it can be done by making different plugin property files like plugin.properties and plugin_de.properties.
> This method is working fine when I provide the locale as program argument,
> but in my application user can choose the locale at the time of the login.
> I have tried to change the locale by changing the system property "osgi.nl". but it was not working.

AFAIK, the text is set when each object is created. The only way I know
to change the locale while running is to open a new window and close the
old one.

Later,
PW
Re: Internationalization problem [message #449188 is a reply to message #448443] Thu, 11 May 2006 02:12 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
I am a new bie to RCP.I want to know how to internationalize the RCP application. I have gone through the eclipse article for internationalizing RCP application, but i didnt get through..

http://www.eclipse.org/articles/Article-Internationalization /how2I18n.html#step1

I am using eclipse 3.1. can u please provide links on internationalizing RCP application for eclipse 3.1 or else give me the steps to follow.
Re: Internationalization problem [message #449397 is a reply to message #449188] Thu, 11 May 2006 18:04 Go to previous message
Eclipse UserFriend
Rohit-
The plugin.properties look-ups for Views are done when the extension
registry is initialized during application start up. There are methods
for setting the title on a view though that you might be able to use
during runtime if the user chooses a different locale.

Ganesh -
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/product_def_nl.htm

ganesh wrote:
> Hi,
> I am a new bie to RCP.I want to know how to internationalize the RCP application. I have gone through the eclipse article for internationalizing RCP application, but i didnt get through..
>
> http://www.eclipse.org/articles/Article-Internationalization /how2I18n.html#step1
>
> I am using eclipse 3.1. can u please provide links on internationalizing RCP application for eclipse 3.1 or else give me the steps to follow.
Previous Topic:viewpart with fixed height
Next Topic:RCP with a database and not with IResources ??
Goto Forum:
  


Current Time: Sun Aug 31 08:19:11 EDT 2025

Powered by FUDForum. Page generated in 0.04238 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top