LinuxCommandLibrary

localedef

compiles locale definition files into binary locale data that can be

TLDR

List compiled locales

$ localedef --list-archive
copy
Display help
$ localedef --help
copy
Compile a locale
$ localedef -i [locale] -f [charmap] [output_path]
copy

SYNOPSIS

localedef [options] outputpath_

DESCRIPTION

localedef compiles locale definition files into binary locale data that can be used by the C library. It reads character map and locale definition files to create locale archives.

PARAMETERS

--list-archive

List locales in the archive
-i, --inputfile FILE
Locale definition input file
-f, --charmap FILE
Character map file
-c, --force
Create output even with warnings
--delete-from-archive
Delete locale from archive
--add-to-archive
Add compiled locale to archive
-?, --help
Display help information

CAVEATS

Low-level tool; most users should use locale-gen instead. Incorrect locale definitions can cause application errors.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community