Eclipse 3.4 infocenter war and locales [message #474130] |
Thu, 10 July 2008 12:49  |
Eclipse User |
|
|
|
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 13:49   |
Eclipse User |
|
|
|
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 13:47   |
Eclipse User |
|
|
|
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 #619294 is a reply to message #474130] |
Fri, 25 July 2008 13:49  |
Eclipse User |
|
|
|
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 13:47  |
Eclipse User |
|
|
|
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?
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04946 seconds