source: pkg/security/vinnie/main/eglibc/trunk/debian/local/manpages/validlocale.8 @ 6973

Revision 6973, 1.2 KB checked in by alanbach-guest, 4 years ago (diff)
  • Added vinnie and eglibc to Vinnie
Line 
1.TH "validlocale" "8" "0.1" "Petter Reinholdtsen" ""
2.SH "NAME"
3.LP
4validlocale \- Test if a given locale is available
5.SH "SYNTAX"
6.LP
7validlocale <\fIlocale\fP>
8.SH "DESCRIPTION"
9.LP
10Test if the locale given as argument is a valid locale.  If it
11isn't, print on stdout the string to add to /etc/locale.gen to make
12locale\-gen generate the locale (if it exists at all).
13.SH "FILES"
14.LP
15\fI/usr/sbin/validlocale\fP
16.br
17\fI/usr/share/i18n/SUPPORTED\fP
18.SH "ENVIRONMENT VARIABLES"
19.LP
20.TP
21\fBDEFAULTCHARSET\fP
22Which charset to assume if the given locale is missing from the
23list of supported locales.
24.SH "EXAMPLES"
25.LP
26If you give a valid locale as parameter, it outputs a string
27specifying this on stderr:
28.LP
29.IP
30% validlocale C
31.br
32locale 'C' valid and available
33.LP
34When given a invalid (not generated or just nonexistent), it
35outputs a string on stderr telling that this is an invalid locale, and a string to stdout with the string to add to /etc/locale.gen
36to have this locale generated:
37.LP
38.IP
39% validlocale de_AU@euro
40.br
41locale 'de_AU@euro' not available
42.br
43de_AU@euro ISO\-8859\-15
44.SH "AUTHORS"
45.LP
46Petter Reinholdtsen <pere@hungry.com>
47.SH "SEE ALSO"
48.LP
49locale\-gen(8), localedef(1), locale(1)
Note: See TracBrowser for help on using the repository browser.