Just out of curiosity, what is the meaning of LC_IDENTIFICATION?
The reason I am asking is, that a fresh US-English installation of Linux Mint (I guess Ubuntu would be the same), located in “Jerusalem” for time zone, left me with the following mix and match locale in /etc/default/locale:
As I was working to fix it to my liking, I was wondering if I should also update LC_IDENTIFICATION.
The man page for locale(1) says “Metadata about the locale information”, but it does not tell me exactly what the effect of changing it would be. Can you think of any application or API using this variable and how?
It appears that by setting LC_IDENTIFICATION you indeed supply metadata for a given locale specification, as seen in this example of the Uzbekistan locale:
title "Uzbek (latin) locale for Uzbekistan"
source "Bobir Ismailov"
contact "Bobir Ismailov, Pablo Saratxaga, Mashrab Kuvatov"
email "[email protected][email protected][email protected]
Or another variant with the Greek locale:
title "Greek locale for Greece"
address "Sankt Jorgens Alle 8, DK-1615 Kobenhavn V, Danmark"
LC_IDENTIFICATION is a GNU extension. I could not find a specification of it though. Since it's just metadata, I'm assuming it's not used in any userland programs.
Under Ubuntu 8.10, bash shell, the LANG and LC_ALL variables are not set:
Where should I set those variables so that they point to en_US.UTF-8. Once that is done, do I need to restart anything?
You can set it per user in ~/.bashrc:
If you do not have that locale file installed, you can do it by
LANG is set in /etc/default/locale the rest of those the LC_ stuff are locale specific variables that I believe are set by the bash. They aren't set by xterm anyway. See man locale and man setlocale for more information.