Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Eclipse Help index has mixed languages
Eclipse Help index has mixed languages [message #621914] Fri, 14 November 2008 13:52
Eric Roberts is currently offline Eric Roberts
Messages: 24
Registered: July 2009
Junior Member
We are writing our own docs with the DITA OT and sticking them into an
Eclipse Infocenter. We package our doc plugins with multiple languages in
a single plugin using the 'nl' sub directory scheme described in the
Eclipse documentation (the English docs occupy the root of the plugin, all
other languages are under the nl/ directory).

The issue we are having is when a language other than English, for example
German, is displaying (by setting lang=de in the infocenter URL) and the
index tab is opened, any index term at the tertiary level is displayed in
English instead of German. If I use a plugin that has only German these
tertiary terms display correctly in German. I've determined that in the
case of a multilanguage doc plugin, Eclipse is falling back to the English
TOC entry title for those tertiary terms but I have no idea why it would
do that. Looking at the German index.xml file the <topic title="">
attributes are all in German.

Anfrage
Estrellen
Zusammenarbeit
Collaborating on Demand Request Items
Collaboration

If I add a fourth level in the index I notice that the Main parent titles
stay in German but the children are in English

Anfrage
Estrellen
Zusammenarbeit
Collaborating on Demand Request Items
Collaboration
Zusammenarbeit
Collaborating on Demand Request Items
Collaboration

If 'Zusammenarbeit' only has one child, that child displays properly in
German.

Anfrage
Estrellen
Zusammenarbeit
Zusammenarbeit

Here's a relevant piece of the German index.xml file. Is this valid?

<index>
...
<entry keyword="Anfrage">
<entry keyword="Erstellen">
<topic href="html/createdemands.htm" title="Übermitteln von
Erstanfrageeinträgen"/>
</entry>
<entry keyword="Zusammenarbeit">
<topic href="html/collaboration.htm" title="Zusammenarbeit"/>
<topic href="html/demandcollaboration.htm"
title="Zusammenarbeit bei Erstanfrageeinträgen"/>
</entry>
...
</index>

Additionally, there are two entries for Anfrage, Estrellen but each entry
points to a different topic. Why are they being grouped in two separate
Anfrage entries?

Anfrage
Estrellen --> points to topic1.htm
Zusammenarbeit
Collaborating on Demand Request Items
Collaboration
Anfrage
Arefaktaufschlusselung
Estrellen --> points to topic2.htm
Formularbeantwortung
Previous Topic:Re: Standalone help for RCP product
Next Topic:Re: Welcome page when a feature is installed
Goto Forum:
  


Current Time: Sat Aug 02 00:43:47 EDT 2014

Powered by FUDForum. Page generated in 0.01409 seconds