[Prev: LABELSTYLES][Resources][TOC][Next: LASTPGLINK]

LANG


Syntax

Envariable

M2H_LANG=locale

Element

<LANG>
locale
</LANG>

Command-line Option

-lang locale


Description

LANG sets the locale. Setting the locale affects the following MHonArc operations:

The basic format for specifying a locale is:

language_country.codeset

Where codeset and country are optional. The language and country are short codes defined by the standards ISO 639 (language) and ISO 3166 (country), The codeset represents a specific character encoding, like ISO8859-1. You will need to consult your system documentation for what locales, and their formats, are supported.

NOTE:

On Unix-based system, the command locale may be available to get list of all supported locales for you system.


Default Setting

The value of the LC_ALL or LANG environment variables.


Resource Variables

N/A


Examples

LANG gives you the ability to create locale-specific archives on a single system. For example, let's say the you manage several English-based archives and the default locale for your system is en_US. However, you would now like to host a Japanese-based archive on the same system.

For the Japanese archive, you may want to set LANG as follows:

<Lang>
ja_JP
</Lang>

If you plan on using a specific codeset (see TEXTENCODE and CHARSETCONVERTERS) you should specify the codeset. For example, if the archives will be in UTF-8, you should use:

<Lang>
ja_JP.utf8
</Lang>

Version

2.6.7


See Also

CHARSETCONVERTERS, RCFILE, TEXTENCODE

perllocale manual page.


[Prev: LABELSTYLES][Resources][TOC][Next: LASTPGLINK]

$Date: 2005/06/07 19:15:44 $
MHonArc
Copyright © 2003,2005 Earl Hood, mhonarc@mhonarc.org