How to Index Japanese ContentEdit online
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 a Publishing Template
To add a logo in the title area of your WebHelp output using an Oxygen Publishing Template, follow
this procedure:
- If you haven't already created a Publishing Template, see Working with Publishing Templates.
- Open the template descriptor file associated with your publishing template and add the
default.languageparameter in the parameters section with its value set toja-jp.<publishing-template> ... <webhelp> ... <parameters> <parameter name="default.language" value="ja-jp"/> </parameters> </webhelp> - Open the DITA Map WebHelp Responsive transformation scenario.
- Click the Choose Custom Publishing Template link and select your template.
- Click OK to save the changes to the transformation scenario.
- Run the transformation scenario.
Using a Transformation Scenario in 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:
- Edit a DITA to WebHelp transformation scenario and in the
Parameters tab, set the value of the
default.languageparameter toja-jp.Note: Alternatively, you could set thexml:langattribute on the root of the DITA map and the referenced topics toja-jp. Another alternative for DITA output is to use thewebhelp.search.japanese.dictionaryparameter to specify a path to a Japanese dictionary that will be used by the Kuromoji morphological engine. - Run the WebHelp transformation scenario to generate the output.