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

2
votes
0answers
34 views

Change GDM language

I'm using Gnome on Arch Linux and I want to change the language of GDM from English to French. I followed these instructions exactly but it didn't work... Here is my locale: LANG=fr_FR.UTF-8 ...
1
vote
1answer
47 views

What causing locales issue in debian?

My question is not about how to fix it, but about what causing perl warning in debian after doing apt-get install. I found the easiest way to fix this issue is: export LANGUAGE=en_US.UTF-8 export ...
0
votes
0answers
22 views

Nothing helps Gnome Terminal to not default to ANSI_x3.4-1968

I would really like gnome-terminal to default to a UTF-8 encoding, but whatever I do, I can't get it to do it. I don't have sudo access, so I cannot edit /etc/environment. I'm on a university-managed ...
0
votes
1answer
64 views

Why can't I properly locate Debian 8.1 on my BeagleBone Black?

I was using the BBB (BeagleBone Black) for a while now but with Arch Linux. Now that Debian also supports systemd I decided to give it a try. So I followed this guide and used the eMMC flasher image ...
2
votes
1answer
35 views

View Japanese text in emacs without X11

Is it possible to view Japanese (or more generally, international) fonts in emacs without running X11? If yes, what is the process? Nearly all the references I have found on the internet related to ...
0
votes
1answer
64 views

Add a foreign keyboard layout to Gnome in Debian 8

I would like to add an Italian keyboard layout as an input source, but my system only lists English layouts. I suppose that this is because I didn't select any locale other than English during ...
1
vote
1answer
31 views

What is the difference between locale en_AG and en_AG.utf8?

Running locale -av in the terminal window gives me (only showing first two items of output): locale: en_AG archive: /usr/lib/locale/locale-archive ...
3
votes
3answers
88 views

How to determine if current locale uses UTF-8 encoding?

I would like to determine if the user's locale uses UTF-8 encoding. This seems a little bit ugly: [[ $LANG =~ UTF-8$ ]] && echo "Uses UTF-8 encoding.." is there a more general/portable ...
1
vote
3answers
70 views

Why are file names surrounded wtih “â” sign?

After adding alias rm='rm -i' to my ~/.bashrc file, because when I remove file, shell wasn't asking for confirmation, file names are surrounded with "â" sign like in example below: rm: cannot remove ...
2
votes
1answer
17 views

How to (easily) be able to use a new en_** locale?

I want to use an en_IL.UTF-8 locale - but I can't locale-gen it. I can choose this value in /etc/default/locale but that's apparently not enough for all apps. It seems like I need to get locale-gen to ...
0
votes
1answer
24 views

Docker CentOS7 image and locale compilation problems

I'm setting up a Docker image which requires localization support. I also need to patch the pt_BR locale according to comment #21 on this thread. So what I'm basically doing is reinstall glibc to ...
4
votes
2answers
209 views

Man page quotation characters [duplicate]

I've just been looking through a few man pages for a few different commands including grep and ifconfig. I've noticed over a few pages, the content uses a strange syntax to notate what i think are ...
6
votes
1answer
95 views

Change a locale definition (as opposed to a locale setting)

Preliminary remark: This question is not about setting a locale by changing LC_ALL, LC_TIME, LANG, etc., it's rather about changing a locale definition, e.g. in /usr/share/i18n/locales/de_DE, or ...
3
votes
0answers
67 views

Best practice to customize date/time format system-wide?

I'd like to customize exclusively the date and time format for my system, while sticking to the rest of the locale as is. I know that environment variable LC_TIME will make it possible to customize ...
2
votes
1answer
225 views

Why does `date` print date with wrong word order when localized?

I'm using Kubuntu 14.04.2 LTS. I set the locale environment with the following command: export LANG=ru_RU.utf8 LANGUAGE=ru_RU.utf8 LC_ALL=ru_RU.utf8 so that locale now says all entries are ...
2
votes
1answer
24 views

Cyrillic file names broken after upgrading Slackware

After upgrading glibc and some other libraries on Slackware instead of cyrillic names I see the garbage: | Was before | Is now | |------------+------------------| | Вождение | ...
1
vote
0answers
43 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
36 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
39 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
1answer
91 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
21 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
243 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
85 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
442 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
104 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
136 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
2k 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
135 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
77 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
43 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 ...
2
votes
1answer
150 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
102 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
217 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
149 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
93 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
77 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
74 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
37 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
724 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
169 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
433 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
3k 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
93 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
96 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
439 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
1k 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
42 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 ...
2
votes
2answers
207 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
133 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 ...
1
vote
0answers
73 views

Unicode emoji not showing up in tcsh prompt

I set my prompt on tcsh 6.18.01 to use some silly emoji characters, but they don't show up. > cat .cshrc set prompt = '\n🔥 [%~]\n%# ' \360\237\224\245 [~] ...