locale-gen.conf5
Configuration file for locale-gen
Overview
The file /etc/belocs/locale-gen.conf customize how locales generated by locale-gen are stored onto disk.
This file is executed by locale-gen as a shell fragment, which means that errors in this file can break locale-gen. It can contain the following variable definitioos, of the form <variable>=<value>.
Variables
- ARCHIVE=(yes|no)
-
If set to yes, locale data are stored into a single archive
/usr/lib/locale/locale-archive. Otherwise, locale data are stored in/usr/lib/locale/<locale_name>/LC_*files. (Default is no)
- PURGE=(yes|no)
-
If set to yes, locale data are first removed when
locale-genis run. This is the behavior of thelocalespackage. (Default is no)
- ALIASES=file
-
Specify a file name containing locale aliases.
GLIBC_MAGIC=(0x20000828|0x20031115|0x20051014|auto)-
In order to ensure compatibility between compiled data and GNU libc functions, a magic number is stored in locale data, and if it does not match GNU libc one, locale data are ignored. Current
locale-genprogram can write compiled data with magic numbers0x20000828(for 2.1.96 <= GNU libc <= 2.3.2),0x20031115(for GNU libc >= 2.3.3, which is the default in etch) or0x20031115(for GNU libc CVS, which is not used yet). If this variable is set to auto, a locale is generated by thelocaledefcommand shipped in GNU libc, and the magic number is extracted from this locale. (Default is auto)
Releases
3 releases since Debian 3.1 (Sarge); the text changed 1 time.