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

0
votes
0answers
23 views

How can I disable uim without uninstalling it?

I took me a while to install and configure uim https://code.google.com/archive/p/uim/ on Arch Linux and install other japanese fonts because I needed the support for the japanese language and locale. ...
12
votes
3answers
646 views

How can I make “ls” show dotfiles first while staying case-insensitive?

Create the following files in a directory. $ touch .a .b a b A B 你好嗎 My default ls order ignores the presence of leading dots, intermingling them with the other files. $ ls -Al total 0 -rw-r--r-- ...
1
vote
0answers
42 views

Why does perl complain about locales? [duplicate]

This thread is not a duplicate to locale not found/setting locale failed - what should I do? because the file /etc/locale.gen has uncommented the line en_US.UTF-8 UTF-8 which should sufficient no ...
0
votes
0answers
21 views

When I'm typing a text in English, it gets underlined and behaves bizarre

I have russian and english US locales. When I'm typing a text in English, it gets underlined until I press whitespace or some other special keys. When it's underlined, it's kind of invisible to the ...
1
vote
0answers
15 views

Installing language packs offline

This is the first time I installed Lubuntu, and my computer is not connected to the Internet. Apparently the operating system is not totally translated in French, and I must upgrade the languages ...
3
votes
1answer
33 views

How to temporarily change locale for sudo?

To change the locale of the current user like export LANG=en_US.UTF-8. But this environment variable doesn't affect the root user. When I use sudo the display language remains default. How can I ...
4
votes
3answers
960 views

Updated my arch linux server and now I get tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968

I recently updated my Arch Linux server and during that process tmux got updated. I was using tmux while the upgrade was going on and used it afterwards, but all during the same SSH session. Now, ...
0
votes
1answer
42 views

Debian Jessie with Xfce: cannot change locale (LANG) after installing new locale

I am running Debian Jessie with xfce. I used to have the system in English (en_US.utf8 as LANG since I installed debian only with English). Lately, I installed new locales and even if I made sure I ...
0
votes
1answer
78 views

Can't set locale; make sure $LC_* and $LANG are correct!

UPDATE I found the problem. I need to relog after setting the language variables. But what I'm wondering is: How would I relog inside a vagrant script? Is this even possible? Introduction I've read ...
1
vote
0answers
48 views

No support for locale: en_US.utf8

I am on Linux Mint 17.3. I saw this in the syslog. Processing triggers for initramfs-tools (0.103ubuntu4.3) ... Apr 9 12:01:47 vb-nb-mint updates: update-initramfs: Generating /boot/initrd.img-3.19....
0
votes
0answers
39 views

Special characters are not recognized even with UTF-8 in KDE

So, I have Manjaro KDE pre 16 and I have some character encoding issues. Characters like ã á and such are not recognised and are represented by the ? sign. And all programs seem to use this encoding ...
0
votes
1answer
28 views

GNOME Terminal extended ascii support

I've got this file: 0 1 2 3 4 5 6 7 8 9 a b c d e f __________________________________ 20 | ! " # $ % & ' ( ) * + , - . / | 30 |0 1 2 3 4 5 6 7 8 9 : ; < = > ? | 40 |@ A B C D E F ...
1
vote
1answer
41 views

Which configuration files override /etc/default/locale?

For some strange reason, I find my I have several LC_ locale variables set to a value I don't recognize having chosen (en_ZA.UTF-8). So, I want to set it differently - permanently, from the command-...
1
vote
0answers
69 views

Language and font problems in Linux Mint

I'm a Dutchman living in Hungary. I use a Dell Inspiron I7, 5000 series laptop with a Hungarian keyboard and Linux Mint 17.3 Rosa 64 bit. My Mint-system language is Dutch, language setting "Hungarian (...
0
votes
0answers
25 views

How to change the date format in the LXDM login/greeting screen (LXDE)

I found a number of resources to change the system (Archlinux 2016-03-01) date format, amongst others one to create a new format from an existing locale file. I then modifed /etc/environment and ...
1
vote
2answers
302 views

Problem of Can't set locale; make sure $LC_* and $LANG are correct!

When I always try to install new package I get this message: Can't set locale; make sure $LC_* and $LANG are correct! perl: warning: Setting locale failed. perl: warning: Please check that your ...
1
vote
0answers
49 views

setxkbmap -option lv3:ralt_switch_multikey doesn't work with many layouts

My current xkb setup is as follows: $ setxkbmap -query rules: evdev model: pc104 layout: us,cz(qwerty) options: lv3:ralt_switch_multikey,grp:lalt_lshift_toggle When in the us ...
1
vote
0answers
81 views

Setting the LANG environment variable for xfce

I am on a multi user Debian Stretch system which has en_US.UTF-8 as default locale, but I want de_DE.UTF-8 for my user. I was able to set it for terminals, by adding export LANG=de_DE.UTF-8 to ~/....
2
votes
1answer
89 views

change locale in script

I made an script that do some math, using bc and printf. It worked well under cygwin which locale is en_US.UTF-8, but when I run it under linux, which locale is en_ES.UTF-8, it fails because it uses ...
1
vote
1answer
34 views

Is there a way to change the language of a running program?

I'm trying to change the language of a running program, for example firefox, from the command line. I'm not looking for application specific commands, but for something like: :~$ chglocale $(pidof ...
3
votes
1answer
23 views

Can custom locale spec live under ~/?

I understand that one can put custom locale specs under a system-wide directory (e.g. /usr/share/i18n/locales), but is there a way to configure one's locale to use a spec that lives under ~/? ...
1
vote
0answers
53 views

unixODBC 2.3.0 “_S_create_c_locale name not valid” error

I am attempting to setup HANA Smart Data Access on an SLES 11 sp3 environment. For HANA to communicate with external data sources unixODBC 2.3.0 is used along with Microsoft ODBC Driver 11 for SQL ...
1
vote
1answer
194 views

Can't set the locale (man-db.cron)

Everyday I am receiving an email with the following content /etc/cron.daily/man-db.cron: mandb: can't set the locale; make sure $LC_* and $LANG are correct When I check the results of of /etc/...
3
votes
1answer
198 views

Unexpected sort order in en_US.UTF-8 locale

While trying to answer this question about SQL sorting, I noticed a sort order I did not expect: $ export LC_ALL=en_US.UTF-8 $ echo "T-700A Grouped" > sort.txt $ echo "T-700 AGrouped" >> ...
4
votes
1answer
74 views

How to get this collation in sort?

I need to set up command sort, so it is sorting lines into this order: Akira Kurosawa Al Ernest Garcia Alain Sarde Alan Ladd, Jr. Albert S. Ruddy Alberto Grimaldi Alfred Hitchcock Amanda Plummer ...
0
votes
1answer
102 views

Changing local from en_US.utf8 to en_US in RHEL 7

I'm installing "Red Hat Enterprise Linux 7.2 (Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 ...
0
votes
1answer
43 views

setuid.today date format changed after FreeBSD 10.2 update

My setuid.today has a different date format than setuid.yesterday: setuid.today (German localization?) 3 Dez setuid.yesterday Dec 3 I'm getting emails with the diff reports every day. I guess ...
0
votes
3answers
105 views

Fonts Not showing Up - Debian 8

Just moved from windows and installed Debian 8, got chrome running When i visited google.co.in the various languages are showing as boxes. Tried dkpg-locale reconfigure noting worked , PS: I am ...
2
votes
1answer
128 views

Linux speak english,hpux italian,why?

I want my system speak italian as possible on hpux,using bash i see help eval eval: eval [arg ...] Esegue argomenti come un comando di shell. Combina gli ARGOMENTI dentro una singola ...
3
votes
1answer
43 views

Why don't locale variables show up in the output of env or printenv?

The locale command prints a list of environmental variables containing info related to the users locale: $locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" ...
1
vote
2answers
123 views

Can't generate en_US.UTF-8 Locale

I've been trying to set my locale to en_US.UTF-8 without any success. Based off of other answers around the internet, I should first generate the locale with sudo locale-gen en_US.UTF-8 And then ...
1
vote
1answer
307 views

I broke build-locale-archive how do I rebuild it?

I used the top answer here How do I reduce the size of locale-archive? because I wanted to free up a little space. Now my web server is down and I can't get build-locale-archive working. First error ...
2
votes
2answers
49 views

alphabetical expansion order for *

When I'm using a POSIX compliant shell (es: dash, bash, zsh, ...) can I be sure that * will always expand in alphabetical order (dictated by LC_COLLATE)? example: $ echo 1 > file_a $ echo 2 > ...
0
votes
1answer
42 views

Non-English letters in html2text?

I'm making a script which uses html2text, however, it can't handle non-English letters. I'd like to use letters such as á, é í, ó ú, æ, ø, ö, ä, ð, þ. It just shows questions marks instead of the ...
1
vote
1answer
32 views

What is wrong with URI handling on Linux Mint?

I'm using Linux Mint 17.2 XFCE. I face very strange problem on my Linux Mint 17.2 XFCE. When I open files, that are located in paths with non-latin names (for example /home/yanpas/Загрузки) I see ...
5
votes
2answers
238 views

Language in netstat output

I have a program here, that depends on the output of netstat. More concrete: netstat -apn. Here is an example of a normal output. Proto Recv-Q Send-Q Local Address Foreign Address ...
3
votes
1answer
82 views

Strange default sort behaviour

I have some trouble to understand what is happening here: [guido@localhost 9]$ ls -1 Star\ Wars\ Episode\ * Star Wars Episode II Attack of the Clones.avi Star Wars Episode III Revenge of the Sith.avi ...
3
votes
1answer
181 views

How to use grep with files in arbitrary encoding, without locale installed and without sudo?

I have utf-8 locale on my computer, and i want to search in KOI8-R encoded files. But i don't have KOI8-R locale installed. And i don't have sudo rights to install this locale. Is it possible to ...
1
vote
2answers
27 views

What's the advantage of locale archives over locale files spread out in directories?

I am quite curious about why locale-archive files are preferred in many Linux distros and what and to which extent its advantage over compiled files for each locale would be.
0
votes
0answers
33 views

Polish–Vietnamese mojibake in a .txt file, using LibreOffice, mousepad, and vim

I have a trouble with some .txt file. When I try open it with mousepad, vim or LibreOffice Writer in every case some Polish letters are changing to another, incorrectly (i.e. correct char ś and ć are ...
0
votes
0answers
236 views

Arch locale problerms - “Locale not supported”, “cannot set x to default locale”

I'm very new to Arch. My installation went well, but now It seems that I've muddled my locale settings and I don't know how to fix it. I'm from South Africa. I've gone over the wiki and looked for ...
6
votes
1answer
74 views

making a new locale file for Linux, and getting it accepted as a standard

I am wanting to set up a new locale for "Indonesian English" (en_ID) for Linux systems. While English is not widely spoken in Indonesia, it is still used widely in business and the professions. I ...
2
votes
1answer
133 views

Wrong order with sort command

How to get sort command working with data separated by "|" (pipe character) ? Consider this sample file called "x" which have two fields: axis-AXIS|OK axis-AXISR|OK axis-AXISD2X|OK axis-AXISA|OK ...
1
vote
1answer
76 views

Why isn't “export” permanently chaning my environment variables?

Running Fedora 20. Trying to permanently set the LANG and LC_TIME variable with "export". When I run it, it works fine and I can see it was changed. When I reboot, it gets changed back. I am doing all ...
28
votes
6answers
4k views

Why does [A-Z] match lowercase letters in bash?

In all shells I am aware of, rm [A-Z]* removes all files that start with an uppercase letter, but with bash this removes all files that start with a letter. As this problem exists on Linux and ...
2
votes
1answer
250 views

Encoding problem on aix system when logging using log4j2

I am using log4j2 to log message on aix system. In log when I use command less I can see: ...|LU?N ...|NOV�K ...|ZEM�NEK when I copy same file on my ubunty system and use same program I can see: ....
0
votes
3answers
839 views

How to set English as a default language in Debian?

How can I set English as a default language in Debian ? I've installed Debian in a different language. $ sudo update-locale LANG=en_US.UTF-8 LANGUAGE=en_US update-locale: Error: invalid locale ...
7
votes
2answers
208 views

Sort command inconsistent behavior

I want to sort two files but I cannot get consistent results. It seems there are problems with collation but I cannot understand the reason. In sample files separator is a single space: file1: a b B ...
0
votes
2answers
1k views

Can't install locales [closed]

I'm working under Raspbian (for RaspberryPi): Linux version 3.18.14-v7+ (root@vagrant-ubuntu-trusty-32) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - ...
1
vote
1answer
78 views

Why isn't `date` respecting my locale?

I am having some issues processing dates, where they are being interpreted in US format (mm-dd) instead of EU/AU format (dd-mm). It looks like date isn't respecting my locale settings, or they are ...