Page 1 of 1

DITA and WebHelp: changing notes icons and displayed names

Posted: Thu Oct 22, 2015 11:43 am
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

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

Posted: Thu Oct 22, 2015 5:21 pm
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