manpagez: man pages & more
info gettext
Home | html | info | man

File: gettext.info,  Node: Setting the POSIX Locale,  Next: Working in a Windows console,  Prev: Setting the GUI Locale,  Up: Users

2.3 Setting the Locale through Environment Variables
====================================================

   As a user, if your language has been installed for this package, in
the simplest case, you only have to set the ‘LANG’ environment variable
to the appropriate ‘LL_CC’ combination.  For example, let's suppose that
you speak German and live in Germany.  At the shell prompt, merely
execute ‘setenv LANG de_DE’ (in ‘csh’), ‘export LANG; LANG=de_DE’ (in
‘sh’) or ‘export LANG=de_DE’ (in ‘bash’).  This can be done from your
‘.login’ or ‘.profile’ file, once and for all.

* Menu:

* Locale Names::                How a Locale Specification Looks Like
* Locale Environment Variables::  Which Environment Variable Specifies What
* The LANGUAGE variable::       How to Specify a Priority List of Languages

© manpagez.com 2000-2026
Individual documents may contain additional copyright information.