- 签证留学 |
- 笔译 |
- 口译
- 求职 |
- 日/韩语 |
- 德语
The title of the JavaHelp file, which is displayed in the title bar of the help file, is translated in the .hs file. In a text editor, translate the words following the <TITLE> tag.
For example:
<helpset version="1.0">
<!-- title -->
<title>Java Development Environment - Hilfe</title>
The view definitions may also contain translatable text, such as the table of contents
definition below.
<!-- views -->
<view>
<name>TOC</name>
<label>Das Inhaltsverzeichnis</label>
<type>javax.help.TOCView</type>
<data>IdeHelpTOC. xml</data>
</view>
The .hs file in most cases also contains labels for the index and full-text search views.
Table of Contents and Index Files
In JavaHelp projects, two XML files define the table of contents and index of a JavaHelp file,i.e. the entries displayed in the left pane of the viewer window.
These files have names like IdeHelpIndex.xml and IdeHelpTOC.xml. Here is an example of a section from a table of contents file:
<tocitem text="Menüs">
<tocitem text="Menü "Datei"" target="menus.file"/>
<tocitem text="Menü "Bearbeiten"" target="menus.edit"/>
<tocitem text="Menü "Erstellen"" target="menus.windows"/>
<tocitem text="Menü "Hilfe"" target="menus.help"/>
</tocitem>
Here is an example of a section from an index file:
<indexitem text="breakpoints">
<indexitem text="advanced functions" target="debug.breakpoint"/>
<indexitem text="conditional" target="debug.conditional"/»
<indexitem text="list of" target="debug.breakpoint"/>
<indexitem text="location" target="debug.breakpoint"/>
<indexitem text="window" target="debug.breakpoint"/>
</indexitem>
It is important to note that only the text following text= attribute should be translated.
责任编辑:admin