Questions tagged [locale]

a way of customising messages to be suitable for different languages

Filter by
Sorted by
Tagged with
596 votes
20 answers
1.2m views

How do I fix my locale issue?

I am getting this message every time I do something like starting or stopping a service. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: ...
HackToHell's user avatar
  • 6,736
70 votes
3 answers
95k views

How to change Date/Time format to English?

I have installed Ubuntu 13.04 and set my local time/date and its working, the only thing that's bugging me is that I cannot change it to English. I would like to do this because it is hard to read and ...
Qasim's user avatar
  • 22.1k
110 votes
9 answers
106k views

Switch command output language from native language to english

How can I switch the command output language from my native language to English, so I can post my Ask Ubuntu question with English command output (error messages)?
BuZZ-dEE's user avatar
  • 14.2k
246 votes
12 answers
405k views

How do I add locale to ubuntu server?

I currently have those locales: locale -a C en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 ...
Silver Light's user avatar
  • 2,557
11 votes
3 answers
8k views

Some menus are in Chinese/Japanese!

Yesterday I shutdown my computer and today when I powered it on and logged in to 12.04, certain strings are in Japanese/Chinese (I don't know how to differentiate between the two). The strings are: ...
harisibrahimkv's user avatar
49 votes
13 answers
159k views

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 ...
Peter.O's user avatar
  • 24.7k
102 votes
7 answers
104k views

Locale variables have no effect in remote shell (perl: warning: Setting locale failed.)

I have a fresh ubuntu 12.04 installation. When i connect to my remote server i got errors like this: ~$ ssh example.com sudo aptitude upgrade ... Traceback (most recent call last): File "/usr/bin/...
Janning's user avatar
  • 1,885
57 votes
3 answers
184k views

How do I change the default locale in Ubuntu Server?

I have a remote server which I installed and have been trying to unsuccessfully change the locale to french for a few hours. Below are the contents of my locale files: /etc/default/locale: LANG="...
Dark Star1's user avatar
24 votes
1 answer
47k views

How to set locale?

After a clean Ubuntu Server install, I get the following error when running 'perl'. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset)...
Olivier Lalonde's user avatar
17 votes
8 answers
43k views

How to change/fix system's locale when you setup in a language not official in your country?

How do I set up a global locale for the computer? I have recently installed Kubuntu 14.04LTS in english but since I am in Spain, I chose Spain as a country and then changed locale options so that I ...
Calabacin's user avatar
  • 365
6 votes
5 answers
9k views

locale: Reset lost settings [duplicate]

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 ...
Adam Matan's user avatar
  • 12.5k
122 votes
12 answers
94k views

How to set Monday as the first day of the week in GNOME 2 Calendar applet?

What is the recommended way to change the first day of the week to Monday (instead of Sunday, as in the screenshot below)? I couldn't find anything related in Clock Preferences, nor in System -> ...
Jonik's user avatar
  • 7,178
69 votes
6 answers
148k views

warning: setlocale: LC_ALL: cannot change locale

I want to switch to French locale. So I tried the below command: myUbundu@myUbundu-desktop:~$ export LC_ALL=fr_FR But I am getting the warning -bash: warning: setlocale: LC_ALL: cannot change ...
Lunar Mushrooms's user avatar
26 votes
2 answers
17k views

Temporarily change language for terminal messages/warnings/errors

Messages in my terminal are displayed using Russian language by default, which is my native one. For just a moment I want them to be in English (eg. to paste in forums), then switch back to the ...
takeshin's user avatar
  • 2,852
5 votes
1 answer
2k views

Ubuntu datetime locale on login screen

I've installed Ubuntu 19.10, language/locale/formats are set in US/en. And everything seems to work OK, except datetime language on login screen (when I turn on my laptop and see fields for user/...
Yevhenii Nadtochii's user avatar
32 votes
2 answers
21k views

How can I customize a system locale?

At System → Administration → Language support → Text. I can only choose standard locales, but I would like to fine-tune. For example in Windows I could customise things like time and date format, ...
Ivan's user avatar
  • 57.2k
28 votes
4 answers
2k views

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 ...
TheCodeGeek's user avatar
32 votes
1 answer
7k views

Monday as first day in GNOME Shell (instead of Sunday)

I've been dealing with different regional settings (US, Canada and other locations in English, as well as other countries and languages), but I cannot get GNOME Shell Calendar to begin with Monday, ...
Ed Villegas's user avatar
  • 3,423
16 votes
3 answers
21k views

How to change language only for terminal

I'm using Arabic as the default language but there are some issues when displaying it in terminal. So I want to change the language only in terminal to English, how can I do that ?
Burawi's user avatar
  • 263
9 votes
8 answers
45k views

Terminal won't launch after upgrading

After upgrading my laptop from 14.10 to 15.04, the terminal wont' launch. Ctrl+Alt+T does nothing. neither will terminal run from dash. I tried launching gnome-terminal from xterm, but nothing happens....
Karhu's user avatar
  • 451
5 votes
2 answers
8k views

What is the thing in KDE that override my locale settings

With Kubuntu 14.04, I have got some trouble with the locales. "Something" in KDE override my settings (I say in KDE because if I use gnome, I got no problems). Here are my settings $ cat /etc/...
janou195's user avatar
  • 243
143 votes
14 answers
371k views

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

I have the exact question as this but there's no solution. I tried but it doesn't work How do I fix my locale issue? $ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory ...
user avatar
50 votes
8 answers
169k views

`Gtk-WARNING **: Locale not supported by C library. ` when starting apps from the commandline

I didn't get an answer but I wasn't doing anything and this is an interesting topic. In Ubuntu 12.04, when opening a file in gedit or if I am working on the command line in dpkg, I get returned the ...
38 votes
3 answers
88k views

How to set all locale settings in Ubuntu

A remote installed application has some encoding problems and on my local machine it is running fine. What is the best way to "copy" my locales to the remote machine? The locales on my personal ...
d0x's user avatar
  • 506
15 votes
2 answers
6k views

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. ...
TriforceOfKirby's user avatar
12 votes
4 answers
40k views

Gnome-classic language turned into Chinese, how do I change it back to English? [duplicate]

My newly installed Ubuntu 12.04 gnome-classic just turned into chinese locale after reboot, how do I change it back to English? I can't find any language menus, and the ones I opened are, well, in ...
719016's user avatar
  • 6,217
8 votes
2 answers
14k views

How can I change language but only for the terminal?

How do I change the language of the terminal to English? I am familiar with using vi. If the terminal language is controlled by etc/default/locale, what am I supposed to change there? LANG="el_GR....
OJeik's user avatar
  • 89
3 votes
1 answer
865 views

Nautilus sorting by filename column seems insane

By what logic does the kálmán track appear where it does? (I have the view sorted by filename) Where is this sort behaviour defined and is there anyway to change this behaviour?
wim's user avatar
  • 12.7k
2 votes
1 answer
1k views

UTF-8 Telugu text not rendering correctly in terminal

I am trying to process telugu text with Python. Text is rendering correctly in chrome browser like this. Unfortunately it is not rendering correctly in default terminal or python shell in terminal....
Chillar Anand's user avatar
60 votes
5 answers
97k views

apt-get warning: No support for locale: en_US.utf8

I get this error each time I update the system using apt-get. What does this error mean? Any ideas on how to correct it? (I am running Ubuntu 11.10)
Dananjaya's user avatar
  • 1,784
53 votes
6 answers
84k views

How to remove unnecessary locales?

I noticed I have several unneeded locales installed, for example, firefox-locale-. I only need one locale. How to remove all the rest?
user289256's user avatar
28 votes
2 answers
10k views

How do I list folders with underscores first?

So as pretty much everyone, before using Ubuntu I used a Windows machine, and one of the things I got used to in Windows was to use the underscore as the first character of a folder name as some sort ...
nunos's user avatar
  • 3,420
17 votes
4 answers
74k views

How to change user's language (locale) back to English? [duplicate]

I made the mistake of trying out some settings through Administration -> Language Support. Now my user account has LANG set to fi_FI.utf8, even though I want to use en_US.utf8. (This is kind-of a ...
Jonik's user avatar
  • 7,178
13 votes
3 answers
12k views

Where is the LANGUAGE environment variable set?

In what configuration file is the LANGUAGE environment variable set? (Or how can I change it by other means?) Background: I was playing around with language settings in kubuntu and installed Russian ...
lnmaurer's user avatar
  • 451
8 votes
3 answers
24k views

How to get current or set wanted regional format in the terminal?

I'm looking for single line terminal commands to: check my current regional format or set the regional format to English US. Currently to change this I have to go to Settings->Language Support->...
Gertjan's user avatar
  • 93
5 votes
2 answers
18k views

Can't set locales Ubuntu 16.04

Can't set locales, that's pretty it. My VPS gives me a mutilated Ubuntu 16.04 distro: $ export LC_ALL="en_US.UTF-8" -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) $ locale -a ...
Soy Boys Beware's user avatar
4 votes
1 answer
3k views

How to override the system locale on a single command?

When helping someone we often ask them to show the output of a command eg: sudo fdisk -l | pastebinit If the user is not using an English locale, the output may be in a foreign language: Disk /dev/...
Alistair Buxton's user avatar
4 votes
3 answers
32k views

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: ...
Jayanth Krishnamoorthy's user avatar
0 votes
3 answers
4k views

ibus not working in Lubuntu

I install lubuntu few days ago and I tried to add my locale(sinhala). By using command ibus-setup I got the ibus configuration window and then I add my locale. I can see the keyboard icon on the top ...
ravinda's user avatar
  • 205
0 votes
1 answer
2k views

Properly setting the system language to English but with Swedish locale settings

So ever since I installed Kubuntu on the computer I'm using right now I've had locale issues, which I'll admit is nothing new or unique to Ubuntu/Linux. I'm trying to set things up so that my keyboard ...
GomerPyle's user avatar
52 votes
2 answers
51k views

'unsupported locale setting' fault by command-not-found

I recently installed Ubuntu 12.10 by keeping the home folders from Linux Mint 13 distribution. The system installed fine, but at the beginning everything was in Chinese (even the text in the Terminal)....
Beni Bogosel's user avatar
  • 1,205
42 votes
2 answers
11k views

Where can I find the full list of Compose combinations for my locale?

After enabling my Compose key, I want to find the list of all the key combinations I can use to create special characters. Where is the full list that my system is using when parsing the keys typed ...
Kees Cook's user avatar
  • 17.5k
34 votes
2 answers
91k views

How to solve LOCALE problem [duplicate]

I am facing a problem as asked in this question, I have tried the proposed solution but facing the same issue When I run locale, locale: Cannot set LC_CTYPE to default locale: No such file or ...
Umair Ayub's user avatar
  • 1,040
28 votes
1 answer
25k views

How can I uninstall a locale via command-line?

I have 5 unused locales on my system. How can I remove them via command line? I have use localepurge but it didn't work.
Eonil's user avatar
  • 2,051
25 votes
7 answers
31k views

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......
showkey's user avatar
  • 342
16 votes
3 answers
3k views

Why is "LANG=C;sudo apt-get clean" etc recommended?

I came across this wiki page: Package Manager Troubleshooting Procedure. In it, there were commands such as: LANG=C;sudo apt-get clean LANG=C;sudo apt-get autoclean LANG=C;sudo apt-get -f install ...
DK Bose's user avatar
  • 42.6k
12 votes
3 answers
26k views

How to set LC_NUMERIC to English permanently?

I need to change LC_NUMERIC to English (I have Ubuntu in Spanish) because of the dots and the commas, but if I use LC_NUMERIC="en_US.UTF-8" when I exit the terminal and I open it again, LC_NUMERICis ...
Maria's user avatar
  • 123
10 votes
2 answers
15k views

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 ...
user308393's user avatar
  • 1,297
9 votes
1 answer
8k views

How to fix "en_DE.UTF-8" (locales) warnings? [duplicate]

On my system I am getting errors(?) like this: bash: warning: setlocale: LC_CTYPE: cannot change locale (en_DE.UTF-8) or weemonger@awesomeLinuxSystem:~$ dpkg-reconfigure locales perl: warning: ...
weemonger's user avatar
  • 403
8 votes
3 answers
3k views

Is there a quick way to enter uppercase accented characters?

I know I can enter any character I need using the character-map applet, but that means grabbing the mouse/opening the "run" dialog, switching to another window, selecting the character, copying... you ...
agnul's user avatar
  • 636