Pages: 1
Print
Author Topic: How do I get common terms in JavaHelp output to appear in the language?  (Read 632 times)
Candys
Member

Posts: 1


« on: February 23, 2010, 10:34:11 AM »

When I output to pdf, there are "vars" files that are accessed to place common terms for the language, such as "note" "tip" etc. However, when I output to JavaHelp or HTML in a language, these common terms still appear in English (including link terms such as "Previous Topic" "Parent Topic." Right now I am fixing them after they are published, but it would be ideal to have them output with the correct language term. Am I just missing some files in the right spots in DITA-OT? Or is this a transform fix? This seems like kind-of an important issue, but not finding any mention of it.
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1548



WWW
« Reply #1 on: February 23, 2010, 03:13:26 PM »

The DITA OT does support an abstraction for loading language-specific versions of these types of "injected" phrases in a similar way to PDF. The files that contain the strings used for all the standard HTML-based outputs supported by the DITA OT are located in this folder:
<DITA OT>\xsl\common\

If the root element of a particular topic (ie: <topic>, <task>, <reference>, etc) has this attribute set then the "Parent topic" text you refer to in your message will be inserted using the value from the corresponding file from the <DITA OT>\xsl\common\ folder.

The particular file that is used for each xml:lang value is controlled by the settings in the file <DITA_OT>\xsl\common\strings.xml, so to add new languages, or to map different xml:lang values to existing files you should modify that file.

If you are working with XMetaL Author Enterprise 5.5 or 6.0 and wish to make any changes to the DITA OT itself please see the following topic to be sure you are modifying the right copy of the DITA OT: http://forums.xmetal.com/index.php/topic,237.0.html
Logged
Pages: 1
Print
Jump to:  

email us