## Localizing the Full-Text Search Database

The JavaHelp system full-text search database is constructed using the `jhindexer` command. The `jhindexer` command parses HTML topic files according to each file's character encoding. If the document format (HTML, GIF, text) supports a language attribute, the document text is tokenized according to the language attributes for its elements.

By default, `jhindexer` assumes the default locale - use the `locale` option to specify the locale directly to the `jhindexer` command. The syntax for the locale option is:

        jhindexer -locale language_country_variant

The argument to the option is the name of the locale as described in `java.util.Locale`, for example, `en_US` (English, United States) or `en_US_WIN` (English, United States, Windows variant).

See also:

  Localizing Help Information
  Localizing Help Presentation
  Localizing Helpsets
  Localizing XML Data
  Localizing HTML Data
  Localization and Fonts
  Creating the Full-text Search Database
  The `jhindexer` Command