Questions tagged [locale]

a way of customising messages to be suitable for different languages

Filter by
Sorted by
Tagged with
595 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,726
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
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
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
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
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
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
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
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
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
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
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
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 ...
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
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
40 votes
2 answers
113k views

setlocale: LC_CTYPE: cannot change locale (UTF-8) [closed]

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 ...
Markus Hedlund's user avatar
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
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
32 votes
5 answers
53k views

How to configure locales to Unicode in a Docker Ubuntu 14.04 container?

I installed a Ubuntu Trusty container using Docker, and when I connect to it, I can see that the locale is set to the bare minimum: sudo docker run -i -t <id> /bin/bash root@<id>:/# ...
Pierre's user avatar
  • 1,130
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.1k
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,413
31 votes
1 answer
160k views

Unable to unzip file

trying to unzip a file so im trying the following command Sorry im really quite new to linux btw this is Ubuntu server latest release. user@serverubuntu:~/minecraft/server$ ls rtk.zip user@...
Valkyrie0512's user avatar
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
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
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
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
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
24 votes
1 answer
46k 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
23 votes
7 answers
27k views

How to change Thunderbird's display time to 24h format?

Currently Thunderbird displays time in AM/PM mode. How can I change it to 24h mode? UPDATE 1: $ locale |grep LC_TIME LC_TIME="en_US.UTF-8"
pl1nk's user avatar
  • 6,399
20 votes
3 answers
25k views

What is the correct way to fix an assertion in loadlocale.c?

I have recently updated Ubuntu to 18.04. After this, issuing the command ld constantly failed with the following assertion: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (...
Alex Hoppus'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
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
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
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
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
14 votes
6 answers
81k views

how to fix locale error

I just did a fresh install of ubuntu using debootstrap. When I do sudo aptitude upgrade, I get this error message: perl: warning: Setting locale failed. perl: warning: Please check that your locale ...
user1527227's user avatar
14 votes
2 answers
6k views

What does C in LC_ALL=C mean?

I know very well that to override locale settings we can use LC_ALL prepended to the command one wants to run. I also know C uses default locale of a system. But what does C stand for ?
Sergiy Kolodyazhnyy's user avatar
13 votes
1 answer
12k views

what are duty of locale and locale-gen commands?

I know in order to understand how commands work, we should use man page. But for command locale and locale-gen. I did not got the exact meaning and their duty. I need some more description about ...
Mohammad Reza Rezwani's user avatar
13 votes
1 answer
9k views

Change decimal mark in calculator

In Germany we use , as decimal mark instead of .. Since I installed my Ubuntu in English, the Ubuntu default calculator (gcalctool) uses the . and I can't use the , on my German numpad. I already set ...
André Stannek's user avatar
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
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
12 votes
5 answers
3k views

How to change a keyboard layout to Dvorak that assumes that the keyboard layout is QWERTY?

I use Dvorak as my primary keyboard layout. For writing in my native language(Bengali), I'd like to use the Probhat layout. But Probhat assumes that you are using a QWERTY layout. How do I make it ...
Sayem's user avatar
  • 3,653
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
12 votes
1 answer
2k views

What are those 'x xx' in 'ls -l' command

When performing ls -l I encountered a column I don't recognize. drwxrwxr-x 7 user user 4096 × ×× 29 13:54 .eclipse drwxrwxr-x 3 user user 4096 × ×× 30 09:30 workspace drwxrwxr-x 3 user ...
hudac's user avatar
  • 235
12 votes
2 answers
1k views

How to display characters in (virtualbox) TTY?

I'm running Ubuntu 12.04 in VirtualBox, but can't get Chinese chars to display correctly. Here's what chars that should be Chinese look like: I've done everything I could, including: sudo apt-get -y ...
laike9m's user avatar
  • 221
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
10 votes
2 answers
3k views

locale-gen generates not selected locales

I found, that on my home server, running Ubuntu Server 18.04, I've selected quite a few locales, I actually don't need. I only want en_US.UTF-8 and de_DE.UTF-8, since the whole system is configured to ...
Christian's user avatar
  • 103
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
4 answers
27k views

Cannot permanently change locale on 16.04 server

I have setup a fresh Ubuntu 16.04 server, but when I attempt to permanently change the locale settings, it fails and reverts back to the POSIX locale. Typing locale yields the following: LANG= ...
MechMK1's user avatar
  • 331
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

1
2 3 4 5
10