New answers tagged locale
A couple of notes: System wide locale settings are stored in /etc/default/locale. It makes no sense to set all of LC_ALL, LC_CTYPE and LANG. A cleaner solution is to let /etc/default/locale contain only LANG=en_US.UTF-8 and drop those entries in /etc/bash.bashrc.
I added the export LC_ALL=en_US.UTF-8 export LC_CTYPE=en_US.UTF-8 export LANG=en_US.UTF-8 snippet to /etc/bash.bashrc instead and that fixed the problem. I doubt the call to locale-gen, dpkg-reconfigure and installing language-pack-en-base was necessary at all.
You are missing the LANGUAGE env. variable, which is set in Ubuntu more often than not, and overrides LC_MESSAGES for GNU compatible programs. Try: $ LANGUAGE=fi cat /etc/shadow
Your locale is a complete mess. Please go to "System Settings -> Language Support". Drag the language of your choice to the top, and click "Apply system-wide". Move to the "Regional Formats" tab, select the region of your choice, and click "Apply system-wide". Reboot. Hopefully that does it.
I had the same problem for several months, a lot of software tools warned about broken locale settings, and some even refused to run. I want to use English language, but Swedish monetary and number settings. What finally worked for me was to edit /etc/default/locale where I removed everything in that file. I then started the Unity language setup (Settings ...
Top 50 recent answers are included