for setting locale in ubuntu what does the LANGUAGE environment variable mean ?
it is not defined in ubuntu community docs or on
man 1 locale
The "LANG" environment variable determines the language in which software programs communicate with the user.
More details are here: EnvironmentVariables
For Language: Not all programs have translations for all languages. By default, an English message is shown in place of a nonexistent translation. If you understand other languages, you can set up a priority list of languages. This is done through a different environment variable, called LANGUAGE. GNU gettext gives preference to LANGUAGE over LC_ALL and LANG for the purpose of message handling, but you still need to have LANG (or LC_ALL) set to the primary language; this is required by other parts of the system libraries. For example, some Swedish users who would rather read translations in German than English for when Swedish is not available, set LANGUAGE to ‘sv:de’ while leaving LANG to ‘sv_SE’.
More details can be found here: gnu.org
Hope this was helpful.