Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Internationalize RCP help
Internationalize RCP help [message #474909] Mon, 15 December 2008 13:41 Go to next message
Bianca Thelen is currently offline Bianca ThelenFriend
Messages: 26
Registered: July 2009
Junior Member
Hello everybody,

is there a way to internationalize the RCP help when not run in
infocenter mode? (Eclipse 3.3.2 on Windows XP). I tried
org.eclipse.help.base/locales=de but this only seems to apply to
infocenter mode.

Kind regards
Bianca
Re: Internationalize RCP help [message #474910 is a reply to message #474909] Mon, 15 December 2008 20:43 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
An RCP can be internationalized, it works slightly different from the
infocenter. In either the creation of content is the same. First you set
up the documents for the default locale (for the Eclipse platform this
is english) and create nl directories for each other language supported
such as nl/de, nl/fr etc.

An infocenter will determine the local of the client either from the
lang parameter (help/index.jsp?lang=de will show the German version) or
from the locale in the request header. This way clients will see the
contents in the language which their browser is using.

An RCP or Eclipse application will get the locale from the system on
which it is running. What this means is that if my machine's OS has the
locale set to German and I am running an RCP with a help application the
pages will use the German locale even if the help system was accessed
from another system.

Does this answer your question?

Chris

Bianca wrote:
> Hello everybody,
>
> is there a way to internationalize the RCP help when not run in
> infocenter mode? (Eclipse 3.3.2 on Windows XP). I tried
> org.eclipse.help.base/locales=de but this only seems to apply to
> infocenter mode.
>
> Kind regards
> Bianca
Re: Internationalize RCP help [message #474912 is a reply to message #474910] Tue, 16 December 2008 09:46 Go to previous messageGo to next message
Bianca Thelen is currently offline Bianca ThelenFriend
Messages: 26
Registered: July 2009
Junior Member
Thank you Chris for your answer. It doesn't completely answer my
question though. I'm sorry if I was a little imprecise when I posted it.

What I don't understand is how to internationalize the tooltips etc. for
the help. For example it says "Show all topics" when I hover over the
appropriate button. And the search is also completely in English. I'd
like to be able to internationalize all the tooltips and the search in
the top of the window. Is there a way to do this? Maybe I'm missing
something...

Kind regards
Bianca
Re: Internationalize RCP help [message #474913 is a reply to message #474912] Tue, 16 December 2008 10:14 Go to previous messageGo to next message
Patrick Godeau is currently offline Patrick GodeauFriend
Messages: 64
Registered: July 2009
Member
Le 16/12/2008 10:46, Bianca a écrit :
>
> What I don't understand is how to internationalize the tooltips etc. for
> the help. For example it says "Show all topics" when I hover over the
> appropriate button. And the search is also completely in English. I'd
> like to be able to internationalize all the tooltips and the search in
> the top of the window. Is there a way to do this? Maybe I'm missing
> something...

Hi,

You need to add the BabelLanguagePack-eclipse for your language.
It can be found here:
http://download.eclipse.org/technology/babel/babel_language_ packs/
(I found this URL by chance!)

--
Patrick
Re: Internationalize RCP help [message #474914 is a reply to message #474913] Tue, 16 December 2008 10:31 Go to previous message
Bianca Thelen is currently offline Bianca ThelenFriend
Messages: 26
Registered: July 2009
Junior Member
Thank you Patrick. I'll try it.

Kind regards,
Bianca
Re: Internationalize RCP help [message #622693 is a reply to message #474909] Mon, 15 December 2008 20:43 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
An RCP can be internationalized, it works slightly different from the
infocenter. In either the creation of content is the same. First you set
up the documents for the default locale (for the Eclipse platform this
is english) and create nl directories for each other language supported
such as nl/de, nl/fr etc.

An infocenter will determine the local of the client either from the
lang parameter (help/index.jsp?lang=de will show the German version) or
from the locale in the request header. This way clients will see the
contents in the language which their browser is using.

An RCP or Eclipse application will get the locale from the system on
which it is running. What this means is that if my machine's OS has the
locale set to German and I am running an RCP with a help application the
pages will use the German locale even if the help system was accessed
from another system.

Does this answer your question?

Chris

Bianca wrote:
> Hello everybody,
>
> is there a way to internationalize the RCP help when not run in
> infocenter mode? (Eclipse 3.3.2 on Windows XP). I tried
> org.eclipse.help.base/locales=de but this only seems to apply to
> infocenter mode.
>
> Kind regards
> Bianca
Re: Internationalize RCP help [message #622697 is a reply to message #474910] Tue, 16 December 2008 09:46 Go to previous message
Bianca Thelen is currently offline Bianca ThelenFriend
Messages: 26
Registered: July 2009
Junior Member
Thank you Chris for your answer. It doesn't completely answer my
question though. I'm sorry if I was a little imprecise when I posted it.

What I don't understand is how to internationalize the tooltips etc. for
the help. For example it says "Show all topics" when I hover over the
appropriate button. And the search is also completely in English. I'd
like to be able to internationalize all the tooltips and the search in
the top of the window. Is there a way to do this? Maybe I'm missing
something...

Kind regards
Bianca
Re: Internationalize RCP help [message #622699 is a reply to message #474912] Tue, 16 December 2008 10:14 Go to previous message
Patrick Godeau is currently offline Patrick GodeauFriend
Messages: 64
Registered: July 2009
Member
Le 16/12/2008 10:46, Bianca a écrit :
>
> What I don't understand is how to internationalize the tooltips etc. for
> the help. For example it says "Show all topics" when I hover over the
> appropriate button. And the search is also completely in English. I'd
> like to be able to internationalize all the tooltips and the search in
> the top of the window. Is there a way to do this? Maybe I'm missing
> something...

Hi,

You need to add the BabelLanguagePack-eclipse for your language.
It can be found here:
http://download.eclipse.org/technology/babel/babel_language_ packs/
(I found this URL by chance!)

--
Patrick
Re: Internationalize RCP help [message #622701 is a reply to message #474913] Tue, 16 December 2008 10:31 Go to previous message
Bianca Thelen is currently offline Bianca ThelenFriend
Messages: 26
Registered: July 2009
Junior Member
Thank you Patrick. I'll try it.

Kind regards,
Bianca
Previous Topic:Internationalize RCP help
Next Topic:Not recognising helpdata.xml
Goto Forum:
  


Current Time: Fri Nov 28 19:53:25 GMT 2014

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

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