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