Re: unsetting bash language
On 2008-02-27 14:53 +0100, niclas w wrote:
> bash error msg are in swedish, and swedish characters works fine, but
> I want error msg in english(and still be able to write swedish characters).
Assuming this holds for other programs as well, you should set the
LC_MESSAGES variable to C. If you have control over your system, it is
best to do this in /etc/default/locale, e.g. put the following lines there:
LANG=sv_SV.UTF-8
LC_MESSAGES=C
Otherwise you can set them in your ~/.bash_profile, but you have to
export them as well. See locale(7) for details about the LC_*
variables.
Sven
Reply to: