History | Edit

To optimize the indexing of Japanese content in WebHelp pages, the Lucene Kuromoji Japanese analyzer can be used. This analyzer is included in the Oxygen XML Editor installation kit.

Activating Japanese Indexing in DITA WebHelp Systems

To activate the Japanese indexing in your WebHelp system generated from DITA content, follow these steps:
  1. Set the language for your content to Japanese with one of the following two methods:
    • Edit a DITA to WebHelp transformation scenario and in the Parameters tab, set the value of the args.default.language parameter to ja-jp.
    • Set the xml:lang attribute on the root of the DITA map and the referenced topics to ja-jp.
  2. For the analyzer to work properly, search terms that are entered into the WebHelp search text field must be separated by spaces.
  3. Run the DITA to WebHelp transformation scenario to generate the output.

Optionally a Japanese user dictionary can be set with the webhelp.search.japanese.dictionary parameter.

Activating Japanese Indexing in DocBook WebHelp Systems

To activate the Japanese indexing in your WebHelp system generated from DocBook content, follow these steps:
  1. Edit a DocBook to WebHelp transformation scenario and in the Parameters tab, set the value of the l10n.gentext.default.language parameter to ja.
  2. Run the transformation scenario to generate the output.