Questions tagged [locale]

a way of customising messages to be suitable for different languages

Visit the Community Help Wiki about Locale.

460 questions
49
votes
13 answers

Locale settings are not right. How can I reset them?

I've got a locale problem. The collating sequence in nautilus and other programs has changed. I get locale errors appearing in the terminal when I launch a GUI app.. Gtk-WARNING **: Locale not supported by C library. Using the…
Peter.O
  • 24,681
40
votes
2 answers

setlocale: LC_CTYPE: cannot change locale (UTF-8)

When I press tab for autocompletion I get this error: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) I've tried running this: locale-gen en_US en_US.UTF-8 dpkg-reconfigure locales reboot But it doesn't help. Do you know what is…
28
votes
4 answers

Is it possible to switch Ubuntu back to base-2?

Beginning with (Lucid) 10.10, Ubuntu began using base-10 to represent storage sizes. For me, working with Windows all day and then going to work on my Ubuntu notebook, it is very irritating to have to calculate values sometimes. I understand that it…
25
votes
7 answers

How to automate 'dpkg-reconfigure locales' with one command?

In the console to input dpkg-reconfigure locales,a gui jump out ,i select en_HK.UTF-8 as my target ,click enter. dpkg-reconfigure locales Generating locales (this might take a while)... en_HK.UTF-8... done How to automate the whole process into…
showkey
  • 342
15
votes
2 answers

How to create a new system locale

So I want to create a sort of international US English locale with Metric/SI measurement, A4 paper size, ISO date format, etc. From what I understand, locales are defined in /usr/share/i18n/locales. Would I be able to put the locale in here and have…
10
votes
2 answers

How to set LC_TIME variable to en_DK while keeping en_US the system default for other variables?

I have the system default set to en_US.UTF-8. But (among other nonsensical things) this makes Sunday (a weekend day) the first day of the week in calendars. I want to use the LC_TIME variable from en_DK.UTF-8 while keeping the en_US.UTF-8 variables…
user308393
  • 1,297
9
votes
1 answer

How do I reconfigure locales properly on my desktop after installation?

I have dived several times into the labyrinthine locales configuration system, reading man pages and browsing the Internet. Every blog/tutorial/Q&A I read is either incomplete, adventurous, hyper complex, risky, contradictory, erroneous,…
8
votes
1 answer

Ubuntu doesn't set LC_ALL, why?

If you run locale on an Ubuntu installation you get something…
Joril
  • 2,326
8
votes
4 answers

manpath: can't set the locale; make sure $LC_* and $LANG are correct

When I ssh into an EC2 instance running Ubuntu 18.04, I get this error: manpath: can't set the locale; make sure $LC_* and $LANG are correct I tried this but this didn't fix it: sudo locale-gen "en_US.UTF-8" sudo dpkg-reconfigure locales Generating…
6
votes
3 answers

locale-gen doesn't work

As I need my locale which is fa_IR.UTF-8 on my Ubuntu Server, I'm trying to install it through (sudo) locale-gen "fa_IR.UTF-8" but I don't get any output: user@s1:~# sudo locale-gen "fa_IR.UTF-8" user@s1:~# AND IT DOESN'T ADD ANY LOCALE to my…
6
votes
2 answers

How to read the txt files I have written in Greek?

I have some txt files containing greek characters, how can I read them @Ubuntu? When I am opening one of the files I am getting these "Äåõôåñåýùí". Here is a text file zipped and uploaded at rapidshare.
Chris
  • 1,163
6
votes
5 answers

locale: Reset lost settings

Due to some strange reason, I've lost some of my locale settings. I've managed to restore most of them using sudo dpkg-reconfigure locales: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE =…
Adam Matan
  • 12,519
5
votes
2 answers

I have an errormessage in a localized ubuntu, how to get the english version of that message?

Sometimes I get an errormessage that I want to ask about here, but the errormessages are in my locale language. Often this are not really reproducable, so that I cant switch to english and reproduce... So how do I get the english version of that…
NobbZ
  • 511
4
votes
3 answers

locale: Cannot set LC_CTYPE to default locale: No such file or directory locale

I've bought a new laptop DELL Inspiron i3 5th gen 3000 series. On my first login, even before restarting, I tried to apply updates and I got the error locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set…
4
votes
0 answers

Changing default locale from Terminal and got "hash collision"

I am currently translating the User Interface of meld for users in Taiwan. I launched the compiled version but the system do not display with the required locale. I checked my system settings and found the system pushed me to use zh_HK. I cannot…
tomchiukc
  • 248
  • 2
  • 11
1
2 3 4