Rename the relations group title
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 19
- Joined: Wed Aug 24, 2022 7:20 am
Rename the relations group title
Hi there,
How can I rename the group titles in the relations?
For example, the default titles are as the following:
How can I rename the group titles in the relations?
For example, the default titles are as the following:
image.png
I want to rename the second one as Parent Interface Class.You do not have the required permissions to view the files attached to this post.
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Rename the relations group title
Hi luodan,
If you want to rename the default "Related information" title all over the publication, you could use the localization support in WebHelp, by creating a plugin through which you could modify the existing strings with the ones of your own.
You should read this section from the WebHelp User-Guide for more information on how to create a localization plugin to modify the existing strings / labels.
Regards,
Costin
If you want to rename the default "Related information" title all over the publication, you could use the localization support in WebHelp, by creating a plugin through which you could modify the existing strings with the ones of your own.
You should read this section from the WebHelp User-Guide for more information on how to create a localization plugin to modify the existing strings / labels.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 19
- Joined: Wed Aug 24, 2022 7:20 am
Re: Rename the relations group title
I’m stuck in this step:
image.png
I don't know what's the relationship between the translation files and this strings-en-us.xml file, because I searched the target variable I'm using, and it's in the latter file, and the strings-en-us.xml file is in the /scripts/oxygen/frameworks/dita/DITA-OT3.x/plugins/org.dita.base/xsl/common/ folder, so they seem to be the same thing to me.You do not have the required permissions to view the files attached to this post.
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Rename the relations group title
Post by julien_lacour »
Hello,
You can find attached an example of localization plugin with the Related Information text changed to "Parent Interface Class":
Another solution could be to use a <linklist> with a custom title, like in the following example:
Regards,
Julien
You can find attached an example of localization plugin with the Related Information text changed to "Parent Interface Class":
com.oxygenxml.webhelp.localization.zip
You can directly unzip this plugin into OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT3.x\plugins or oxygen-publishing-engine-3.x\plugins (depending if you are using Built-in or Custom Oxygen Publishing Engine - you can check this in Preferences > DITA).Another solution could be to use a <linklist> with a custom title, like in the following example:
Code: Select all
<related-links>
<linklist>
<title>Other reference</title>
<link href="topic.dita"/>
</linklist>
</related-links>
Julien
You do not have the required permissions to view the files attached to this post.
-
- Posts: 19
- Joined: Wed Aug 24, 2022 7:20 am
Re: Rename the relations group title
Hi Julien,
Thanks for your reply, I've changed the title of the target title like this:
Thanks for your reply, I've changed the title of the target title like this:
image.png
And here comes another problem, you see we have 3 different relations in the relations ditamap, which are:
- Method-Class Relations
- Method-Callback Relations
- API-Feature Relations
You do not have the required permissions to view the files attached to this post.
Last edited by luodan on Mon Nov 07, 2022 1:50 pm, edited 2 times in total.
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service