UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
How do I change the locale in Ubuntu?
Hello. I'm using Ubuntu 13.10. During the install I indicated that I was from Canada, so I assumed the locale would be set to en_CA. But everything seems to be en_US (spelling wise). I'm thinking perhaps not many programs accommodate en_CA. Anyway, I'm wondering how I can change the locale (to change the program spellings) to en_GB.
When I used Vector Linux, which is based on Slackware, I simply changed the file /etc/profile.d/lang.sh by commenting out en_US and adding en_GB. I can't find this file in Ubuntu, however. So, does anyone know how I can change the locale? I'm using XFCE.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Original Poster
Rep:
Quote:
Originally Posted by mark_alfred
Hello. I'm using Ubuntu 13.10. During the install I indicated that I was from Canada, so I assumed the locale would be set to en_CA. But everything seems to be en_US (spelling wise). I'm thinking perhaps not many programs accommodate en_CA. Anyway, I'm wondering how I can change the locale (to change the program spellings) to en_GB.
Quote:
Originally Posted by widget
You never did say what you wanted.
Odd. I thought "I'm wondering how I can change the locale (to change the program spellings) to en_GB" was as clear as day. Oh well.
It's currently set to en_CA, but, as I said before, this still seems to default to en_US for many programs. Should I edit the /etc/default/locale file?
It's currently set to en_CA, but, as I said before, this still seems to default to en_US for many programs. Should I edit the /etc/default/locale file?
No, see my post.
Try reonfiguring debconf- you may have the front end set to "non-interactive". If so change it to something else. Eg dialog.
Odd. I thought "I'm wondering how I can change the locale (to change the program spellings) to en_GB" was as clear as day. Oh well.
many programs do not take notice of the LOCALE, so this may not help you much. For example emacs does not care if I use en_CA, en_UK or en_NZ, it still tries to use US (miss)spelling by default. I'm not aware of a general solution for all programs.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Original Poster
Rep:
Yeah, I just thought that more programs may notice en_GB (en_UK?) over en_CA. It's fine with some programs, but many others don't give the Canuck one much heed, so I thought perhaps Great Britain would gain more notice. Oh well, I'm not overly worried.
Last edited by mark_alfred; 04-02-2014 at 09:37 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.