MULTI-NATIONAL LANGUAGE SUPPORT

http-analyze supports Multi-National-Language-Support (MNLS) according to the X/Open Portability Guide (XPG4) and the System V Interface Definition (SVR4). For systems without MNLS support, a simple native implementation is used. See the file INSTALL included in the distribution for information about installation of the appropriate MNLS support for your system. The option -V displays the type of MNLS support compiled into a binary.

All text strings and messages of http-analyze are contained in a separate message catalog, which is read at start-up of the program. If a message catalog is installed in the system, you can select the language to be used for warning messages and for the statistics report by setting the appropriate locale. This can be done by defining the LANG (XPG4/SVR4 MNLS) or the HA_LANG (native MNLS) environment variable or by using the option -L. When using -L, the analyzer switches to the specified language when it has recognized the option. If no message catalog exists for the specified locale, http-analyze uses built-in messages in english language.

Certain languages require a specific character set to be used by the browser when displaying the statistics report. This can be defined using the option -c or the HTMLCharSet directive. The following table summarizes the most common combinations of languages and character sets. Note that the name of the locale is system-specific (for example, de could be de-iso8859 on some systems.

Country LocaleEncoding
Standard C Cus-ascii
Arabic Countries ariso-8859-6
Belarus beiso-8859-5
Bulgaria bgiso-8859-5
Czech Republic csiso-8859-2
Denmark daiso-8859-1
Germany deiso-8859-1
Greece eliso-8859-7
Spain esiso-8859-1
Mexico es_MXiso-8859-1
Finland fiiso-8859-1
France friso-8859-1
Switzerland fr_CHiso-8859-1
Croatia hriso-8859-2
Hungary huiso-8859-2
Iceland isiso-8859-1
Italy itiso-8859-1
Israel iwiso-8859-8
Japan jaShift_JIS or iso-2022-jp
Korea koEUC-kr or iso-2022-kr
Netherlands nliso-8859-1
Belgium nl_BEiso-8859-1
Norway noiso-8859-1
Poland pliso-8859-2
Portugal ptiso-8859-1
Russia ruKOI8-R or iso-8859-5
Sweden sviso-8859-1
Chinese zhbig5

Since the message catalogs are independent from the base software, more languages may become available without having to re-compile or re-install the software. Please visit the homepage of http-analyze for up-to-date information about the available languages. For more information about localization, see environ(5) and setlocale(3) in the online manual.