DITA and WebHelp: changing notes icons and displayed names

Here should go questions about transforming XML with XSLT and FOP.
KarinLehner
Posts: 1

DITA and WebHelp: changing notes icons and displayed names

Thu Oct 22, 2015 11:43 am

I want to change the icons used for the different note types, and additionally I want to change the notes display names.

So, I copied my own notes icons into the folder "C:\Program Files\Oxygen XML Editor 17\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\img", and changed the icons names accordingly in the "webhelp_topics.css".

But how can I change the display names for the notes types? For example the displayed restriction note name should be "Restriktion" instead of "Einschränkung".

Kind regards,

Karin
bogdan_cercelaru
Posts: 205

Re: DITA and WebHelp: changing notes icons and displayed names

Thu Oct 22, 2015 5:21 pm

Hello,

To change the strings used for internationalization you should follow the steps from here:
Customizing WebHelp Systems / Localizing the Interface of WebHelp Output / How to Localize the Interface of WebHelp Output (for DITA Map Transformations)
In your case, you should open the "DITA_OT_DIR\xsl\common\strings-en-us.xml" file and copy the elements that you want to change into the corresponding file from "DITA_OT_DIR/plugins/com.oxygenxml.webhelp/oxygen-webhelp/resources/localization" and change their values.
For example, to change the text for "Restriction", copy the "<str name="Restriction">Restriction</str>" element into the "DITA_OT_DIR/plugins/com.oxygenxml.webhelp/oxygen-webhelp/resources/localization/string-de-de.xml" file and translate it ("<str name="Restriction">Restriktion</str>").

Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest