Unix and Linux Discussions Tagged with locale |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
2,039 |
Shell Programming and Scripting |
|
|
|
10 |
1,581 |
UNIX for Beginners Questions & Answers |
|
|
|
31 |
11,611 |
Shell Programming and Scripting |
|
|
|
6 |
3,047 |
Shell Programming and Scripting |
|
|
|
9 |
12,027 |
OS X (Apple) |
|
|
|
5 |
7,504 |
AIX |
|
|
|
16 |
4,413 |
Shell Programming and Scripting |
|
|
|
2 |
11,646 |
Solaris |
|
|
|
1 |
3,209 |
AIX |
|
|
|
0 |
3,883 |
Solaris |
|
|
|
3 |
22,183 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
7,906 |
Solaris |
|
|
|
0 |
684 |
Software Releases - RSS News |
|
|
|
3 |
11,763 |
Red Hat |
|
|
|
1 |
7,627 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
36,289 |
UNIX for Dummies Questions & Answers |
validlocale(8) validlocale(8)
NAME
validlocale - Test if a given locale is available
SYNTAX
validlocale <locale>
DESCRIPTION
Test if the locale given as argument is a valid locale. If it isn't, print on stdout the string to add to /etc/locale.gen to make
locale-gen generate the locale (if it exists at all).
FILES
/usr/sbin/validlocale
/usr/share/i18n/SUPPORTED
ENVIRONMENT VARIABLES
DEFAULTCHARSET
Which charset to assume if the given locale is missing from the list of supported locales.
EXAMPLES
If you give a valid locale as parameter, it outputs a string specifying this on stderr:
% validlocale C
locale 'C' valid and available
When given a invalid (not generated or just nonexistent), it 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 to have this locale generated:
% validlocale de_AU@euro
locale 'de_AU@euro' not available
de_AU@euro ISO-8859-15
AUTHORS
Petter Reinholdtsen <pere@hungry.com>
SEE ALSO
locale-gen(8), localedef(1), locale(1)
Petter Reinholdtsen 0.1 validlocale(8)