A locale is a set of parameters that defines the user's language, country and any special variant preferences that the user wants to see in their user interface.

learn more… | top users | synonyms

1
vote
1answer
38 views

Locale error on Debian [duplicate]

On my Debian Wheezy VPS I keep getting the errors relating to locale and locale changes, when switching users, for example: -su: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) And ...
1
vote
1answer
39 views

Problem with locale: “Setting locale failed.”

I have a problem with locale and I can't found any solution that work ! Every tutorial are similar like this: http://www.thomas-krenn.com/en/wiki/Perl_warning_Setting_locale_failed_in_Debian So, ...
0
votes
3answers
930 views

I have an environment variable for LANG set in ~/.profile but it is not getting set

I want to set the locale. I have this in my ~/.profile #language export LANG=en_GB.utf8 export TESTING123=en_GB.utf8 But when I type: echo $LANG $TESTING123 I get (LANG not set, but TESTING123 ...
1
vote
0answers
23 views

Why my programs use Rusian instead of English as it's set in the locale [closed]

I'm on Ubuntu 14.04, using kde desktop. My default locale language is en_US.UTF-8. $ locale LANG=en_US.UTF-8 LANGUAGE=en:ru:en LC_CTYPE="en_US.UTF-8" LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 ...
2
votes
0answers
23 views

Perl failed set locale on AIX 7.1

After setting user language to Chinese with GB18030 encoding in SMIT, following env variable was added in user's .profile: LANG=Zh_CN LC_MESSAGE=%l.%c ...
5
votes
1answer
594 views

Dead keys not working in Java Swing applications

I'm currently using Ubuntu 10.10 and Netbeans 7.0 and I can't type accented letters with dead keys any more. It's not a version specific problem seems it's related with Swing since I've got the same ...
6
votes
2answers
1k views

How to convert UTF-8 txt files to all uppercase in bash?

I have some UTF-8 .txt files which I would like to convert to all uppercase. If it was just ASCII, I could use: tr [:lower:] [:upper:] But since I'm working with diacritics and stuff, it doesn't ...
0
votes
2answers
2k views

Linux Mint 14 system language turns into chinese. How can I switch back to English?

Today for testing purpose I installed KDE alongside Cinnamon in Linux Mint 14. Unfortunately, after that my system language switch to Chinese!!! All the menus and notification is in Chinese now!! How ...
2
votes
0answers
91 views

How to change language interface in Xfce?

I installed Debian sid with Xfce and I would like to change the language used in the interface. I would like to set the language to English (US) remplacing French. The change must be on whole system ...
1
vote
0answers
19 views

Finding locales with no separate entry in /usr/share/locale on Debian

I want to remove all unneeded locales on my Debian system in /usr/share/locale. I have installed the package locales and generated en_IE.UTF-8 UTF-8 by using echo "en_IE.UTF-8 UTF-8" > ...
1
vote
1answer
51 views

Telling 'tr' that a-z is not only ASCII

tr -sc 'A-Za-z' '\012' is what I need, but it doesn't include all letters. How can you make this work for languages like French? How can you tell 'tr' that among 'a-z' there should also be an 'à', ...
1
vote
1answer
123 views

Jenkins does not use system's locales

I got a interesting behavior in Jenkins. Jenkins' shell does not use my systems locales. Jenkins runs as user jenkins on my system. Logged in as jenkins via SSH: locale displayed: ...
1
vote
0answers
90 views

How to set LANG in locale, despite it's in /etc/default/locale in ubuntu for unicode support?

I run Ubuntu 12.04, I can't set the locale to en_US.utf8. I set the LANG by configuring /etc/default/locale as described here. $cat /etc/default/locale LANG=en_US.utf8 $locale LANG= LANGUAGE= ...
2
votes
0answers
17 views

How to get a detailed, Kubuntu-like GUI for changing regional/locale settings without installing all of KDE?

Kubuntu's GUI (like here), for locale settings is very detailed. Is there a way to get a similar, detailed GUI outside of Kubuntu without installing the entire KDE desktop environment? I have here a ...
5
votes
1answer
67 views

How do folder name localizations work?

In Mac OS X, there are directories like Desktop, Users and Library. On localized systems, these would be named Skrivbord, Användare and Bibliotek (Swedish) But when I am in the terminal I can't ...
3
votes
1answer
74 views

How to actually test locale

So I know what locale does. Sets the output format of certain programs depending on what country/language you're in, for example 1000000 can be formatted like 1,000,000.00 1 000 000.00 1.000.000,00 ...
0
votes
1answer
112 views

How to change “Number Format” in Gnome 2

I require to change my Number format in my CentOS 6.0 box. I am using "gnome desktop environment" version 2.28.2. I want to know from where can I change the default Number Format of the system. I ...
1
vote
2answers
161 views

sort and ls — why aren't capitalized letters sorted first?

I want a sorting like this, with capitalized letters before lowercase: -rw-r--r--. 1 0 0 183 2014-10-14 20:17 ./CHECKSUMS.md5 -rw-r--r--. 1 0 0 185 2014-10-14 20:17 ./CHECKSUMS.asc ...
2
votes
1answer
836 views

How to get rid of special characters in the output of make [closed]

When I run gcc, it outputs errors but the function names are surrounded by special characters like this ‘setup_connection’: This same is repeated with variable names. I am wondering if the ...
2
votes
2answers
2k views

Changing Locale

I am using Linux Mint 15 Currently I have my locale as (by using command locale): LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC=ar_SA.UTF-8 LC_TIME=ar_SA.UTF-8 ...
42
votes
4answers
2k views

Why is there no “Euro English” locale?

I used to use the somewhat whimsical en_DK.UTF-8 locale when installing a new system because that would produce (roughly) the locale results I wanted, even though I am not in Denmark. Measurements ...
0
votes
0answers
16 views

Change language of GNOME update manager

I was in France some weeks ago and used my laptop there. While being there and using the internet, I noticed that the GNOME update center changed its language from German (my locale) to French. I just ...
1
vote
1answer
243 views

LC_ALL: cannot change locale

When I log into my server (Debian 7) through PuTTY, I get greeted by a message saying: -bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8). Then, when I try to run almost any ...
5
votes
3answers
3k views

What's the default order of Linux sort?

For a long period I thought the default behavior of the sort program was using ASCII order. However, when I input the following lines into sort without any arguments: # @ I got: @ # But ...
3
votes
2answers
6k views

locale not found/setting locale failed - what should I do?

I've installed Debian 7 i386 on my VPS (OpenVZ). Everything works fine, except locales - any attempt to install anything shows: [...] perl: warning: Setting locale failed. perl: warning: Please check ...
3
votes
0answers
276 views

Locale environment variable settings do not take effect

I have a Debian 6 (64-bit) VPS where I cannot seem to get the locale environment variables LANG and LC_* set. (Everything below as root). vps:~# locale -a C POSIX en_US.utf8 nl_NL.utf8 vps:~# locale ...
2
votes
1answer
196 views

Using localectl on Arch, Failed to issue method call: Invalid Locale data

Using Arch. $ localectl status System Locale: n/a VC Keymap: n/a X11 Layout: n/a Okay cool, so I just do set locale, right? $ localectl list-locales en_US.utf8 ...cool, I'll use en_US.utf8 ...
0
votes
1answer
331 views

cannot install locales in Debian 7 due to unmet dependencies

So instead of including the wheezy-backport in my sources.list I had the bright idea of adding jessie directly. Realising my mistake I cut out of and apt-get update/upgrade midway through and then ...
46
votes
3answers
24k views

What does “LC_ALL=C” do?

What does the C value for LC_ALL do in Unix-like systems? I know that it forces the same locale for all aspects but what does C do?
1
vote
0answers
36 views

Working with Hebrew text in Redhat [closed]

I'm trying to view Hebrew text in my putty terminal, but I keep seeing those squares instead of text (see pic). Things I've done so far but didn't work: edited /etc/sysconfig/il8n and changed ...
3
votes
1answer
96 views

Consequences of setting up POSIX locales

Small background of the situation: We are using several UBUNTU servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng ...
0
votes
2answers
111 views

Locale not being set on initial login on Raspbian/Debian

When I log in to my headless Raspbian box using putty/ssh, the locale is not being set correctly. However, if I su to another user, then su back, the locales are then set. This session shows the ...
1
vote
1answer
201 views

Chromebook Crouton Debian xfce4 - Cannot change locale!

On the system described in the title, I am trying to change my locale to a UTF-8 one, in order to run the program Anki. However it won't let me, the commands locale-reconfigure locale-gen and any ...
4
votes
1answer
170 views

What should I set my locale to and what are the implications of doing so?

This question was stimulated by asking the question Chromium browser does not allow setting the default paper size for "Print to File", and also by a conversation with @Gilles on chat. As ...
1
vote
3answers
239 views

Debian thinks my file system is encoded as ISO-8859-1

This may not be the appropriate site for this question, because it's more a complaint than a question, but here goes. Today I updated my computer from Mint 15 to Debian 7.6. And after I'd done that, ...
0
votes
0answers
114 views

Mint: locale problem

When compiling a java application, I got an issue with some characters that are encoded in ISO-8859-1. On my machine I am using UTF-8. How can I change temporarily the locale so compilation goes fine? ...
5
votes
1answer
78 views

aspell installs too many languages

I have installed aspell-en and aspell-de. I have expected this will give me the choice between en and de languages. However, the package has installed many versions of en and de languages and now when ...
8
votes
2answers
2k views

Output ls -l size field with digits grouped by thousands?

It is possible to make ls -l output the size field with digits grouped by thousands? If so, how? For instance: $ ls -l -rw-rw---- 1 dahl dahl 43,210,052 2012-01-01 21:52 test.py (Note the commas ...
0
votes
2answers
2k views

locale-gen command in centos6

In my bare centos6.5 system, which is a docker container, en_US.utf-8 locale is missing: bash-4.1# locale -a C POSIX Normally in Ubuntu there is command locale-gen to do this: # locale-gen ...
4
votes
0answers
157 views

Set custom locales in Gnome3 (on Fedora 20)

I've created my own custom locales and placed them in /etc/locale.conf which successfully takes effect if I log in on a virtual console (Ctrl+Alt+F2). In my Gnome3 session those variables are not set, ...
2
votes
2answers
1k views

Some UTF-8 characters not being recognized by grep or sed

Trying to determine all characters in a file. The file sample consists of: a eɪ abandon əˈbændən ability əˈbɪləti able ˈeɪbəl able ˈeɪbl abortion əˈbɔrʃən abortion əˈbɔrʃn about əˈbaʊt above əˈbʌv ...
0
votes
0answers
205 views

Debian 7.0 (wheezy) change Keyboard Layout to German

I am struggling with changing the language to German, in the locale Settings there is only one available language (American English). I would like to have German and i am not a linux guru.
11
votes
1answer
310 views

Command to retrieve the list of characters in a given character class in the current locale

What could be way to retrieve a list of all the characters in a given character class (like blank, alpha, digit...) in the current locale. For instance, LC_ALL=en_GB.UTF-8 that-command blank ...
1
vote
0answers
24 views

utf-8 locale missing on nexenta

I need to use utf-8, but "locale -a" produces: C POSIX iso_8859_1 the os is: SunOS cteraportal 5.11 NexentaOS_134f i86pc i386 i86pc Solaris Additional info: root@cteraportal:~# dpkg -l locales ...
5
votes
2answers
2k views

Can I change the output format of the “last” command to display the year?

I'm trying to find a way to report on the most recent login for all users on my Solaris 10 server. I'm starting with the output of the last command. Using that command, I get output like this: ...
6
votes
3answers
389 views

Understanding environmental variables in different contexts

Trying to understand the behaviour of the environment in Linux (Ubuntu 13.04 concretely), I've find different situations where setting envirionment variables are used or defined for/in different ...
1
vote
1answer
226 views

How to change locale to English?

I have message from bash and it's localized, I want English message, my locale is: $ locale LANG=pl_PL.UTF-8 LANGUAGE=pl:en LC_CTYPE="pl_PL.UTF-8" LC_NUMERIC=pl_PL.UTF-8 LC_TIME=pl_PL.UTF-8 ...
6
votes
2answers
167 views

Sorting with Perl respecting Locale Settings

Following data needs to be sorted respecting the locale sort order: wird sin wär pêche war Über Uber péché peach There was nor problem by using sort $ sort < data peach pêche péché sin Uber ...
1
vote
2answers
363 views

gawk: Summing floats formatted with comma separator

I'm trying to sum floats which use the comma as separator, and gawk does integer calculations. Here's the script: BEGIN { FS=";" OFS=";" CONVFMT = "%2.2f" } { print $1 print $2 print ...
0
votes
0answers
891 views

Set Up New Locale On CentOS 6

I am trying to set up a new locale for my centos server environment. Here is currently shows for locale -a command: en_AG en_AG.utf8 en_AU en_AU.iso88591 en_AU.utf8 en_BW en_BW.iso88591 en_BW.utf8 ...