Page 1 of 1

DITA OT Localized Indexes

Posted: Wed May 04, 2016 11:39 am
by jochemdevos
Hey everyone,

I'm having trouble with the localization of indexes.

At the moment I'm working with a DITA bookmap containing 2 languages, English 'en' and Dutch 'nl'. These are set on map and topic levels in xml:lang for each respective language.

When running my transformation, a plugin which extends the PDF2 plugin, I only get one Index list containing all indexterms in the bookmap. (this is with the default: Append Child, backmatter, booklists, indexlist)

1. How would I go about sorting the Index list for each respective language? (index-sort-as has no visible effect)

Or alternatively,

2. How would I create seperate Index lists for each language, with a localized heading? (I noticed the indexlist element can also be provided with an xml:lang attribute)

Thanks!

Re: DITA OT Localized Indexes

Posted: Wed May 04, 2016 12:08 pm
by Radu
Hi,

I'm not sure this can be done without extensive XSLT customizations.
The main XSLT template which gets called to create the index page is called ""createIndex"" and is located in:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\xsl\fo\index.xsl

Maybe you could also ask around for this on the DITA Users List. Also Antenna House has its own DITA OT PDF5 plugin which from what I remembered had better support for publishing DITA Maps containing mixed languages but I do not know how they handle the index page.

Regards,
Radu

Re: DITA OT Localized Indexes

Posted: Wed May 04, 2016 3:52 pm
by jochemdevos
Radu wrote:Hi,

I'm not sure this can be done without extensive XSLT customizations.
The main XSLT template which gets called to create the index page is called ""createIndex"" and is located in:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.pdf2\xsl\fo\index.xsl

Maybe you could also ask around for this on the DITA Users List. Also Antenna House has its own DITA OT PDF5 plugin which from what I remembered had better support for publishing DITA Maps containing mixed languages but I do not know how they handle the index page.

Regards,
Radu
Hey Radu,

I've joined the Yahoo group and created a Topic, I'd link it but I can't seem to find it. Does it need approval?

Thanks for xsl filepath, perhaps I can make something simple :)

Re: DITA OT Localized Indexes

Posted: Wed May 04, 2016 4:15 pm
by Radu
Hi Jochem,

Not sure, I have not received your post so I guess that the first post needs to be approved by the admin so this might take some time.

Regards,
Radu

Re: DITA OT Localized Indexes

Posted: Fri May 06, 2016 4:12 pm
by jochemdevos
The topic in the DITA Users List can be found here: https://groups.yahoo.com/neo/groups/dit ... pics/40006