LOCALE-GEN(8) System Manager's Manual LOCALE-GEN(8)NAME
locale-gen -- generates localisation files from templates
SYNOPSIS
locale-gen
DESCRIPTION
This manual page documents briefly the locale-gen command.
By default, the locale package which provides the base support for localisation of libc-based programs does not contain usable localisation
files for every supported language. This limitation has became necessary because of the substantial size of such files and the large number
of languages supported by libc. As a result, Debian uses a special mechanism where we prepare the actual localisation files on the target
host and distribute only the templates for them.
locale-gen is a program that reads the file /etc/locale.gen and invokes localedef for the chosen localisation profiles. Run locale-gen
after you have modified the /etc/locale.gen file.
FILES
/etc/locale.gen
The main configuration file, which has a simple format: every line that is not empty and does not begin with a # is treated as a locale
definition that is to be built.
SEE ALSO localedef(1), locale(1), locale.gen(5).
AUTHOR
This manual page was written by Eduard Bloch <blade@debian.org> for the Debian GNU/Linux system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later
version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
LOCALE-GEN(8)
Check Out this Related Man Page
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)
I created a "ebanking.x" file and run it as " rpcgen -a ebaning.x"
It gen a few of files to me which is - "ebanking.h", "ebanking_server.c", "ebanking_svc.c", "ebanking_client.c", "ebanking_clnt.c", "ebanking_xdr.c" and "Makefile"
The content of "ebanking.x" :
struct bankargs {
... (0 Replies)
I have a Perl package, which is widely used and tested, but recently a version in another language was added. The relevant po-files have been reviewed for this and are ready for testing. What are the steps to select the language by the user? From my understanding the language environment variable... (3 Replies)
I have a database that should ultimately be included in a reporting engine. This will be a point-and-click setup whereby the user selects columns to include in the report and the users can run and save the report-script themselves. Users will have affinity with the data, but we want to design the... (2 Replies)
Original File
Server1|poweredOn|268401| Server1/Server1.vmx|Red Hat Enterprise Linux 5 (64-bit)
Need Output
Server1|poweredOn|DR|T1|268401| Server1/Server1.vmx|Red Hat Enterprise Linux 5 (64-bit)
Conduction to check find the string "SFCHT1" and "SR" and add prefix has... (4 Replies)