How to Index Japanese Content in WebHelp Classic
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/Author installation kit.
Using Oxygen XML Editor/Author
To activate the Japanese indexing in your WebHelp output using a transformation scenario
from within Oxygen XML Editor/Author, follow this procedure:
- Set the language for your content to Japanese. Edit a DocBook to
WebHelp transformation scenario and in the
Parameters tab, set the value of the
l10n.gentext.default.language
parameter toja
. - Run the WebHelp transformation scenario to generate the output.
Using a Script Outside of Oxygen XML Editor/Author
Important: Running WebHelp transformations from a script outside of Oxygen XML
Editor/Author requires an additional license and some additional setup:
- You must have a valid license for the Oxygen XML WebHelp Plugin (https://www.oxygenxml.com/buy_webhelp.html).
- The Oxygen XML WebHelp Plugin must be installed and integrated.
To activate the Japanese indexing in your WebHelp output using a script outside of
Oxygen XML Editor/Author, follow this procedure:
- Set the language for your content to Japanese. Use the
l10n.gentext.default.language
parameter in your transformation script and set its value toja
. -
Execute the transformation script.