Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Eclipse 3.4 infocenter war and locales
Eclipse 3.4 infocenter war and locales [message #474130] Thu, 10 July 2008 16:49 Go to next message
Eric Roberts is currently offline Eric RobertsFriend
Messages: 24
Registered: July 2009
Junior Member
I am trying to use the org.eclipse.help.base/locales= option of the
plugin_customization.ini file with a 3.4 infocenter set up as a web
application in Tomcat but it does not seem to be working. I've got other
customizations set up (e.g. banner and home page) that all work fine so I
know my customization plugin is working. I've specified the option as
follows

org.eclipse.help.base/locales=en fr

The doc plugin I'm using has French content in nl/fr and works as expected
inside of an infocenter started from the command line using the -locales
argument. In other words if I set the browser's content language to 'fr' I
see the french content of that plugin. If I perform the same test in my
infocenter webapp I always see the english content.

Has anyone else tried to use this configuration option and had success? Is
this possibly a bug in the 3.4 code?
Re: Eclipse 3.4 infocenter war and locales [message #474167 is a reply to message #474130] Fri, 25 July 2008 17:49 Go to previous messageGo to next message
David An is currently offline David AnFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Eric - I'm running into a similar problem, wherein the
org.eclipse.help.base/locales option doesn't seem to be working.

I have content for de, en, and fr. When I ask for any of those locales, I
DO get the appropriate content. However, when I ask for a different
locale (e.g. es), I get nothing; I expected to get the default locale,
which in this case is the server's locale (en).

Reading between the lines, you'll see that I also don't know of a way to
specify the equivalent of the -nl parameter, which explicitly sets the
default locale.

Have you found an answer or a workaround to your issue? While they're not
exactly the same, I wonder if they may be related.

On your issue specifically, have you tried using the lang= url parameter
instead of changing your browser's request headers? Does that make any
difference?
Re: Eclipse 3.4 infocenter war and locales [message #474169 is a reply to message #474167] Mon, 28 July 2008 17:47 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Where are you storing the books for the default locale? A system which
supported English as the default and Spanish and French as other
supported languages would store the French and Spanish documents in
/nl/fr and /nl/es with the English documents in / (and not in nl/en).
The nl resolution code is set up to try to find the best match in an nl
directory and if it cannot find one defaults to the non-nl directory.

David An wrote:
> Hi Eric - I'm running into a similar problem, wherein the
> org.eclipse.help.base/locales option doesn't seem to be working.
>
> I have content for de, en, and fr. When I ask for any of those locales,
> I DO get the appropriate content. However, when I ask for a different
> locale (e.g. es), I get nothing; I expected to get the default locale,
> which in this case is the server's locale (en).
>
> Reading between the lines, you'll see that I also don't know of a way to
> specify the equivalent of the -nl parameter, which explicitly sets the
> default locale.
>
> Have you found an answer or a workaround to your issue? While they're
> not exactly the same, I wonder if they may be related.
>
> On your issue specifically, have you tried using the lang= url parameter
> instead of changing your browser's request headers? Does that make any
> difference?
>
Re: Eclipse 3.4 infocenter war and locales [message #474170 is a reply to message #474169] Fri, 01 August 2008 13:51 Go to previous message
David An is currently offline David AnFriend
Messages: 4
Registered: July 2009
Junior Member
Ah - that works perfectly. Thank you so much, Chris! Sorry about the
slow reply.
Re: Eclipse 3.4 infocenter war and locales [message #619294 is a reply to message #474130] Fri, 25 July 2008 17:49 Go to previous message
David An is currently offline David AnFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Eric - I'm running into a similar problem, wherein the
org.eclipse.help.base/locales option doesn't seem to be working.

I have content for de, en, and fr. When I ask for any of those locales, I
DO get the appropriate content. However, when I ask for a different
locale (e.g. es), I get nothing; I expected to get the default locale,
which in this case is the server's locale (en).

Reading between the lines, you'll see that I also don't know of a way to
specify the equivalent of the -nl parameter, which explicitly sets the
default locale.

Have you found an answer or a workaround to your issue? While they're not
exactly the same, I wonder if they may be related.

On your issue specifically, have you tried using the lang= url parameter
instead of changing your browser's request headers? Does that make any
difference?
Re: Eclipse 3.4 infocenter war and locales [message #619298 is a reply to message #474167] Mon, 28 July 2008 17:47 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Where are you storing the books for the default locale? A system which
supported English as the default and Spanish and French as other
supported languages would store the French and Spanish documents in
/nl/fr and /nl/es with the English documents in / (and not in nl/en).
The nl resolution code is set up to try to find the best match in an nl
directory and if it cannot find one defaults to the non-nl directory.

David An wrote:
> Hi Eric - I'm running into a similar problem, wherein the
> org.eclipse.help.base/locales option doesn't seem to be working.
>
> I have content for de, en, and fr. When I ask for any of those locales,
> I DO get the appropriate content. However, when I ask for a different
> locale (e.g. es), I get nothing; I expected to get the default locale,
> which in this case is the server's locale (en).
>
> Reading between the lines, you'll see that I also don't know of a way to
> specify the equivalent of the -nl parameter, which explicitly sets the
> default locale.
>
> Have you found an answer or a workaround to your issue? While they're
> not exactly the same, I wonder if they may be related.
>
> On your issue specifically, have you tried using the lang= url parameter
> instead of changing your browser's request headers? Does that make any
> difference?
>
Re: Eclipse 3.4 infocenter war and locales [message #619303 is a reply to message #474169] Fri, 01 August 2008 13:51 Go to previous message
David An is currently offline David AnFriend
Messages: 4
Registered: July 2009
Junior Member
Ah - that works perfectly. Thank you so much, Chris! Sorry about the
slow reply.
Previous Topic:Command FrameWork- loosing popup menus when I detach window
Next Topic:Screencast Step by Step using Scrapbook Page
Goto Forum:
  


Current Time: Fri Apr 26 06:43:02 GMT 2024

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

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

Back to the top