返回

行业文章

搜索 导航
超值满减
TRANSLATING JAVAHELP
2023-02-08 09:24:50    etogether.net    网络    


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ü &quot;Datei&quot;" target="menus.file"/>

<tocitem text="Menü &quot;Bearbeiten&quot;" target="menus.edit"/>

<tocitem text="Menü &quot;Erstellen&quot;" target="menus.windows"/>

<tocitem text="Menü &quot;Hilfe&quot;" 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



[上一页][1] [2] 【欢迎大家踊跃评论】

上一篇:形容词的翻译分析
下一篇:名词的翻译分析例举

微信公众号搜索“译员”关注我们,每天为您推送翻译理论和技巧,外语学习及翻译招聘信息。

  相关行业文章






PC版首页 -关于我们 -联系我们