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
0answers
15 views

Debian applications in a different language and unable to change

I recently had to reinstall GNOME on my Debian7 system, the reason being there was a problem with the older version. Unfortunately, probably since I am in Belgium, it has installed part French, part ...
2
votes
0answers
11 views

Can't copy or view files with hangul on HFS+

I'm trying to copy a directory of Korean and Japanese music on a Debian Jessie box. The source file system is HFS+J (Mavericks vintage) from a dead Mac, mounted with hfstools: # mount -t hfsplus -o ...
1
vote
1answer
33 views

How do I get the language for messages?

Is there a single command I can use to get the language to use for messages or do I have to check LC_MESSAGES, LC_ALL, LANG etc. in some specific order?
0
votes
0answers
33 views

LMDE2 / MATE locale charset inconsistency

I have a machine with Linux Mint Debian Edition 2 "Betsy" (installed as RC, with all available updates applied) and MATE desktop environment. My problem is that in some applications special characters ...
2
votes
0answers
11 views

Why did the time format in Steam chat change after I started using xinit?

The time format in my Steam chat used to look like this: 23:59 After I stopped using Slim and started using xinit, it looks like this: This only displays the hour and the time zone, which isn't ...
0
votes
3answers
60 views

How make console to support chinese in CentOS 7?

How can I make the console in CentOS 7 support Chinese? I used localectl command. Following is the result: System Locale: LANG=zh_CN.UTF-8 VC Keymap: cn X11 Layout: cn The sets are for Chinese. ...
1
vote
1answer
37 views

emacs text mode UTF-8 characters

I can't get emacs (version 24.4.1) in text mode (-nw launch option) to display Unicode characters directly. It outputs them in escaped form, e.g. ä becomes \344. When I save the file, it is encoded as ...
15
votes
2answers
385 views

Bracket expression (without ranges) matching unexpected character in bash

I'm using bash on Linux. I am getting a success from the following if statement, but shouldn't this return a fail code? if [[ ■ = [⅕⅖⅗] ]] ; then echo yes ; fi The square does NOT equal any of the ...
1
vote
1answer
40 views

Problem with apt-get and locales (inappropriate # in .deb package name)

First of all, I'm running Raspbian, any extra needed info, I will post it here, just ask for it. EDIT: Output of locales -a: C C.UTF-8 en_GB.utf8 POSIX I configured en_GB.utf8, about the others, ...
1
vote
1answer
63 views

Can not set the LC_TIME variable for the current process [duplicate]

On Linux Mint Rebecca, my current LC_TIME setting is LC_TIME="en_US.UTF-8" I would like to execute date and watch how the current date is displayed in a Chinese format with Chinese characters. ...
2
votes
1answer
380 views

bash ssh warning when connect to raspberry: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) [duplicate]

I tried for example this to solve my problem and this too. My problem is that when I try to connect to my Raspberry pi2, I got the following messages: Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT ...
2
votes
1answer
81 views

Question marks instead of national letters in console

I have Netgear Stora MS2000 (which uses a modified version of Red Hat) and have strange font issues while connecting by SSH. Note that this occurs both when connecting by PuTTY from Windows and by ...
2
votes
1answer
47 views

nix package manager: perl warning: Setting locale failed

Whenever I run a command for the nix package manager (e.g. nix-channel --update) I get the following warning: perl: warning: Setting locale failed. perl: warning: Please check that your locale ...
3
votes
1answer
31 views

Is it possible to limit the set of English locales on a system?

On Debian and Ubuntu is it possible to limit the locales which have to be configured? I know that /var/lib/locales/supported.d/local and /var/lib/locales/supported.d/en govern which locales are being ...
1
vote
1answer
74 views

What is the proper encoding name to use in locale for UTF-8?

Just wondering here as I have on this CentOS 7 system: $ locale -a <snip> en_US.utf8 <snip> and yet: $ localectl System Locale: LANG=en_US.UTF-8 To add to that, the preferred name ...
2
votes
2answers
61 views

The 'LANGUAGE' locale variable - how to set English as primary language? A bug in gettext?

The "LANGUAGE" variable is supposed to set the default language and can be used to specify a set of languages, where the next language will be used if a message is not available in the first ...
0
votes
0answers
153 views

Missing locales under Mint 17.1 - cannot display or enter multibyte chars in terminal

I am having multiple issues with locale and language settings in terminal (specifically, gnome-terminal). For testing purposes, in mint-locale I have set both Language and Region to "English, Canada ...
1
vote
0answers
103 views

Linux Deepin language switcher - making it smoother like in Ubuntu

I installed the latest Linux Deepin 2014.2 distro. It's a Chinese distro based on Ubuntu 14.04. The OS is great, but there's one annoying flaw - when switching language, there appears a transparent ...
1
vote
1answer
81 views

Force English layout for the «Compose» key pressed

I like using Compose key. The problem is that large part of my text being typed in non-english layout. This means that some symbols messed up, and most isn't even present (i.e. latin characters). ...
2
votes
2answers
43 views

Location of Language and Locale files

I'm using OpenSUSE 13.2 with GNOME 3.14 Desktop Environment. My interface language is en_US while my locale is ar_SY. My locale contain some wrong data about months names (May and June) and I want to ...
1
vote
0answers
57 views

How do I configure medit to display UTF-8?

My environment is set to use UTF-8. I produce a file in UTF-8 encoding. It works correctly on the terminal. For example: $ echo ééé > test $ cat test $ echo é | od -t x1 0000000 c3 a9 0a ...
1
vote
2answers
31 views

Is there a way to use a PT_BR locale in an English installation of Debian?

I'm Brazilian but when I installed Debian on my machine I set the language to English (US). I prefer to keep my menus and error messages in English because they are more googable (and the translations ...
1
vote
1answer
399 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 ...
2
votes
1answer
94 views

Perl fails to set locale on AIX 7.1

After setting user language to Chinese with GB18030 encoding in SMIT, the following env variable were added to the user's .profile: LANG=Zh_CN LC_MESSAGE=%l.%c ...
2
votes
1answer
224 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, ...
2
votes
2answers
2k 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
64 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
79 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 'à', ...
2
votes
0answers
281 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
1answer
763 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: ...
2
votes
0answers
33 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 ...
1
vote
2answers
184 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 ...
5
votes
1answer
98 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 ...
0
votes
0answers
21 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 ...
2
votes
2answers
1k 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 ...
3
votes
0answers
503 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
601 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
756 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 ...
3
votes
1answer
482 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 ...
1
vote
1answer
437 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 ...
6
votes
1answer
376 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
493 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
169 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? ...
0
votes
2answers
232 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 ...
5
votes
1answer
93 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 ...
1
vote
2answers
6k 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
1answer
267 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, ...
0
votes
0answers
285 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.
0
votes
1answer
170 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
0answers
48 views

Add Solaris utf-8 support for Postgresql

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 ...