Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

locale-gen(8) [debian man page]

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)
Man Page

5 More Discussions You Might Find Interesting

1. Programming

Client and Server program gen by Makefile

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)
Discussion started by: wongalan48
0 Replies

2. Shell Programming and Scripting

Using localisation of a Perl package

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)
Discussion started by: figaro
3 Replies

3. UNIX and Linux Applications

Preparing a datamodel for internationalisation / localisation

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)
Discussion started by: figaro
2 Replies

4. What is on Your Mind?

Do You Own a Kindle?

The Kindle 3 is making headlines as Amazon's #1 bestseller. According to Amazon: Do you own a Kindle? What do you think about them? (43 Replies)
Discussion started by: Neo
43 Replies

5. Shell Programming and Scripting

sed and awk to find pattern and add priffix

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)
Discussion started by: ranjancom2000
4 Replies