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 |
Locale | Encoding |
Standard C |
C | us-ascii |
Arabic Countries |
ar | iso-8859-6 |
Belarus |
be | iso-8859-5 |
Bulgaria |
bg | iso-8859-5 |
Czech Republic |
cs | iso-8859-2 |
Denmark |
da | iso-8859-1 |
Germany |
de | iso-8859-1 |
Greece |
el | iso-8859-7 |
Spain |
es | iso-8859-1 |
Mexico |
es_MX | iso-8859-1 |
Finland |
fi | iso-8859-1 |
France |
fr | iso-8859-1 |
Switzerland |
fr_CH | iso-8859-1 |
Croatia |
hr | iso-8859-2 |
Hungary |
hu | iso-8859-2 |
Iceland |
is | iso-8859-1 |
Italy |
it | iso-8859-1 |
Israel |
iw | iso-8859-8 |
Japan |
ja | Shift_JIS or iso-2022-jp |
Korea |
ko | EUC-kr or iso-2022-kr |
Netherlands |
nl | iso-8859-1 |
Belgium |
nl_BE | iso-8859-1 |
Norway |
no | iso-8859-1 |
Poland |
pl | iso-8859-2 |
Portugal |
pt | iso-8859-1 |
Russia |
ru | KOI8-R or iso-8859-5 |
Sweden |
sv | iso-8859-1 |
Chinese |
zh | big5 |
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.