1LOCALEDEF(1) General Commands Manual LOCALEDEF(1)
2
3
4
6 localedef - compile locale definition files
7
9 localedef [-f charmapfile] [-i inputfile] [--force] [--verbose]
10 [--posix] [--quiet] outputpath
11 localedef --version
12 localedef --help
13
15 The localedef program reads the indicated charmap and input files, com‐
16 piles them to a form usable by the locale(7) functions in the C
17 library, and places the six output files in the outputpath directory.
18
19 If no charmapfile is given, POSIX is used by default. If no inputfile
20 is given, or if it is given as -, localedef reads from standard input.
21
23 Most options can have either short or long forms. If multiple short
24 options are used, they can be combined in one word (e.g. -cv). If an
25 option takes an argument, the argument can be given separately as the
26 next word, or it can be written as option=argument.
27
28 -f charmapfile, --charmap=charmapfile
29 Specify the file that defines the symbolic character names that
30 are used by the input file. If the file is in the default
31 directory for character maps, it is not necessary to specify the
32 full pathname. This default directory is printed by localedef
33 --help.
34
35 -i inputfile, --inputfile=inputfile
36 Specify the locale definition file to compile. If inputfile is
37 not absolute, localedef will also look in the directory speci‐
38 fied by the environment variable I18NPATH and in the default
39 directory for locale definition files. This default directory
40 is printed by localedef --help.
41
42 -c, --force
43 Write the output files even if warnings were generated about the
44 input file.
45
46 -v, --verbose
47 Generate extra warnings about errors that are normally ignored.
48
49 --quiet
50 Suppress all notifications and warnings, and report only fatal
51 errors.
52
53 --posix
54 Be strictly POSIX conformant. Implies --verbose. This option
55 currently has no other effect. Posix conformance is assumed if
56 the environment variable POSIXLY_CORRECT is set.
57
58 -u codeset, --code-set-name=codeset
59 This option is accepted but ignored.
60
61 -h, --help
62 Print a usage summary and exit. Also prints the default paths
63 used by localedef.
64
65 -V, --version
66 Print the version number, license, and disclaimer of warranty
67 for localedef.
68
70 POSIXLY_CORRECT
71 The --posix flag is assumed if this environment variable is set.
72
73 I18NPATH
74 The default directory for locale definition files.
75
77 /usr/share/i18n/charmaps
78 Usual default charmap path.
79
80 /usr/share/locale
81 Usual default output path. See the output from localedef --help
82 for the paths used in your version.
83
84 outputpath/LC_COLLATE
85 One of the output files. It describes the rules for comparing
86 strings in the locale's alphabet.
87
88 outputpath/LC_CTYPE
89 One of the output files. It contains information about charac‐
90 ter cases and case conversions for the locale.
91
92 outputpath/LC_MONETARY
93 One of the output files. It describes the way monetary values
94 should be formatted in the locale.
95
96 outputpath/LC_MESSAGES/SYS_LC_MESSAGES
97 One of the output files. It contains information about the lan‐
98 guage messages should be printed in, and what an affirmative or
99 negative answer looks like.
100
101 outputpath/LC_NUMERIC
102 One of the output files. It describes the rules for formatting
103 numbers in the locale.
104
105 outputpath/LC_TIME
106 One of the output files. It describes the rules for formatting
107 times and dates in the locale.
108
110 locale(5), locale(7), locale(1)
111
113 The program was written by Ulrich Drepper.
114
115 This manpage was written by Richard Braakman <dark@xs4all.nl> on behalf
116 of the Debian GNU/Linux Project and anyone else who wants it. The man‐
117 page is not supported by the GNU libc maintainers and may be out of
118 date.
119
121 This program conforms to the POSIX standard P1003.2
122
123
124
125Red Hat Linux March 2001 LOCALEDEF(1)