DITA and WebHelp: changing notes icons and displayed names

Here should go questions about transforming XML with XSLT and FOP.
KarinLehner
Posts: 1
Joined: Wed Oct 21, 2015 2:30 pm

DITA and WebHelp: changing notes icons and displayed names

Post by KarinLehner »

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: 222
Joined: Tue Jul 01, 2014 11:48 am

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

Post by bogdan_cercelaru »

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
Post Reply