Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [locale]

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.

0
votes
0answers
9 views

Fedora Thunderbird language

----------------------------- OS: Fedora release 30 (Thirty) x86_64 Host: Latitude 5580 Kernel: 5.1.8-300.fc30.x86_64 Uptime: 6 hours, 52 mins Shell: zsh 5.7.1 Resolution: 1920x1080 DE: KDE WM:...
2
votes
1answer
61 views

what's the difference between /etc/locale.conf and /etc/environment?

What's the difference between the following files in CentOS 7? /etc/locale.conf /etc/environment ~/.bashrc
3
votes
0answers
25 views

Should I set the locale to `C` when matching a range of numbers?

If I wanted to search for lines in a file that contain a or b or c or d I would run LC_COLLATE=C grep -E '[a-d]' file_to_search or LC_ALL=C grep -E '[a-d]' file_to_search If I fail to set the ...
0
votes
0answers
12 views

Locale does not work with “file” command output

I have some JPEG files with Description metadata I added in MAC OS. exiftool (in MAC) displays them in correct locale. I copied those files to a Raspbian OS. From command line or bash script ...
0
votes
2answers
65 views

The fr_FR.UTF-8 and C.UTF-8 locales are not available in the locale list therefore I cannot use them [closed]

The fr_FR.UTF-8 and C.UTF-8 locales are not available in the locale list (given by locale -a) therefore I cannot use them. Here is what I did to try and add them : $ sudo locale-gen en_US en_US.UTF-...
3
votes
1answer
78 views

Neomutt - Can't display Swedish characters

I have an issue regarding neomutt not displaying the Swedish characters å, ä and ö. When typing locale in the terminal I get: LANG=sv_SE.UTF-8 LC_CTYPE=sv_SE.UTF-8 LC_NUMERIC=sv_SE.UTF-8 LC_TIME=...
0
votes
0answers
104 views

OVH Arch Linux Locale Cannot Set LC_CTYPE & LC_ALL cannot change locale & NextCloud set locale failed

After booting into the recovery system and backing up the files, the locale for my NextCloud broke. It says "Setting locale to en_US.UTF-8/fr_FR.UTF-8/es_ES.UTF-8/de_DE.UTF-8/ru_RU.UTF-8/pt_BR.UTF-8/...
0
votes
1answer
38 views

What character encoding is used for Linux configuration files?

A colleague was using Qt's built-in QTextStream class to rewrite the /etc/network/interfaces file on an Ubuntu system. Part of that code included a call to QTextStream's setCodec() method, where the ...
0
votes
1answer
54 views

KDE settings + locale - Cannot set LC_ALL to default locale: No such file or directory

In the KDE-settings I can set my language and formats to different locales. It lets me choose between a bunch of them. In this list also is the locale en_DE.UTF-8 (it's listed as en_DE though). ...
3
votes
1answer
173 views

Change lightdm keyboard layout US to Portuguese Arch Linux

I'm installing Arch Linux, but I have a problem with the installation of my display manager, lightdm. When I install and enable lightdm, I think the keyboard layout changes from Portuguese to US. ...
2
votes
0answers
40 views

systemd : changing locale without rebooting

On a Debian Stretch system, when reconfiguring locales (dpkg-reconfigure locales as well as using localectl) systemd keeps running with the boot setting. Therefore services launched with systemctl ...
1
vote
2answers
57 views

How to sort comma-thousand separated numbers while on other locale

I have a German locale and need to sort US formatted numbers with commas as the thousands separator. Seems I don't override the locale properly? sort --version sort (GNU coreutils) 8.30 Example: ...
5
votes
1answer
340 views

bash sort -g does not work properly

I am trying to sort a data file in descending order. The data file is given by three columns and I want to order them in descending order for the third column with (the third column is given as a ...
0
votes
0answers
18 views

Add locale in variable for command [duplicate]

I'm trying to call a command from a variable in a script with a specific locale, example : $ myYTDL="LANG=C.UTF-8 youtube-dl --get-filename" but each time I try and call it in the script, I get : $ ...
0
votes
1answer
75 views

Wildcards/Globbing: Are character ranges problematic?

In The Linux Command Line William Shotts claims that character ranges can be problematic. See the relevant excerpt below, emphasis is mine. Character Ranges If you are coming from another Unix-...
1
vote
1answer
49 views

Grep to find a word matching a specific pattern and ignore accents

This is a homework question that I have only been able to partially solve. I want to use grep to find words in a list that contain three 'e's separated by 't's, and also do an accent insensitive ...
1
vote
0answers
30 views

Why does Wine do not have key registry “LocaleName”?

I using Windows registry, but I happened to find application which relies on registry key LocaleName. Thanks to Wine's regedit, I found some keys linked to region settings (Locale, sCountry, sLanguage,...
3
votes
0answers
253 views

perl: warning: Setting locale failed

I bought a VPS, Centos 7. However, I was able to understand what was going on with SSH and connected to my WHM. After connecting, I get a list of errors and there is something like this: perl: ...
0
votes
0answers
22 views

Where can I find list of time representation by locale? [duplicate]

I want to set my Linux server to use in 24 hours format and date yyyy-mm-dd, what locale do I have to set? Where can I find the standard time/date format used in locale? something like: |locale ...
0
votes
1answer
306 views

Arch Gnome-Terminal timeout

I switched my DM from LightDM to GDM and now I cannot launch gnome-terminal. When I try to launch it from another terminal emulator, I get this error message: # Error constructing proxy for org.gnome....
1
vote
2answers
33 views

How do I type German or Spanish characters in Linux when I don't use a desktop environment?

I'm using Debian 9 x64 with the dwm window manager. I don't use Gnome, KDE, Xfce, or any other desktop environment; it's just the window manager. I configured my keyboard layout to use the Generic ...
3
votes
0answers
68 views

Valid values for LC_CTYPE?

I have found a number of questions on various forums where Mac users complain about locale errors when they log in to Linux systems over SSH which complain that the LC_CTYPE=UTF-8 setting is incorrect....
0
votes
1answer
20 views

Changed language, now terminal isn't working right

Everything was working fine. I could connect into the system with PuTTY, and everything would display correctly. I changed the language from English to Spanish using some GUI tool. I changed the ...
2
votes
1answer
91 views

Programs not respecting locales

I have a fresh installation of Debian 9 (stretch) on my machine and I've set locales through dpkg-reconfigure to a non-english language. Since I'm using KDE, I've also set this as the only language in ...
0
votes
0answers
25 views

$LANG=C even though I set it in .profile and .xprofile

At work I have a bunch of Debian 9 workstations. Default locale is set to en_US.utf8 on the systems. The default desktop environment is Xfce. There is one user who somehow has $LANG=C defined in his ...
-2
votes
1answer
61 views

Debian 7 locales not found

I need to install en_US and it_IT locales. I work with Docker containers but I think is indipendent between Debian and container based on Debian. I execute these commands: root@debian:/# locale LANG=...
1
vote
3answers
152 views

First Day of week stuck on Sunday in any locale (Debian)

I'm trying to figure out why I can't have any locale working with monday set as first day of the week. Installed locales: francescos@Thinkpad-T420:~$ locale -a C C.UTF-8 en_GB.utf8 en_IE.utf8 en_US....
2
votes
1answer
37 views

Local keys don't work in graphical shell in Debian 9.6

I installed Debian 9.6 with english as the language, and locale settings (incl. keyboard) as finnish. All works fine in desktop apps e.g. Chromium, but the keys "ä", "ö" and "å" don't work in Konsole, ...
0
votes
1answer
527 views

How do I set up the locale configuration on Arch Linux [closed]

The Arch Linux wiki says to run locale -a and modify the file /etc/locale.gen as first steps to setting locale on an Arch Linux system. However, on my system locale -a results in errors and the file /...
0
votes
1answer
75 views

Is locale also supported by the Linux kernel?

In Linux, timer is supported by kernel. Time is relate to locale. Is locale also supported by the Linux kernel, or a user-space construct; the kernel doesn’t care about that? Thanks.
0
votes
0answers
233 views

locale & locale-gen: command not found, probably a problem with GCC? - void linux

I have a problem with my system - void linux. At first I have found that one app wasnt working correctly. When I tried to edit the Flameshot configuration by right-clicking on its icon and clicking "...
0
votes
0answers
73 views

`locale -a` appears to report locale aliases, not the list of currently compiled locales

Why doesn't locale -a just report the two actual locales on my system? Also why is utf8 reported as the character set rather than UTF-8? In trying to do a Debian dist-upgrade, but I'm getting lots ...
0
votes
1answer
61 views

How to backport FreeBSD 13-CURRENT C.UTF-8 locale to 11.2-Release?

I've been administering a FreeBSD system through SSH, and she doesn't seem to like the non-ASCII characters I've entered. One noted in the bug report that the problem got fixed with the C.UTF-8 ...
0
votes
0answers
148 views

process name from ps command show ? instead of _ (question mark instead of underscore)

I have a specific linux CentOS 6 machine, The processes I execute are: test_statd, test_watch. When i execute the follwing: ps -eo comm | grep test_ I dont get response, so i execute this: ps ...
3
votes
1answer
93 views

Why is bash removing other digits?

On this (It is not intended to be a range, but an explicit list): $ a='0123456789 ٠١٢٣٤٥٦٧٨٩ ۰۱۲۳۴۵۶۷۸۹ ߀߁߂߃߄߅߆߇߈߉ ०१२३४५६७८९' $ echo "${a//[0123456789]}" ۰۱۲۳۴۵۶۷۸۹ ߀߁߂߃߄߅߆߇߈߉ ०१२३४५६७८९ Bash is ...
1
vote
1answer
80 views

Why is time formatting inconsistent between `date` and `thunderbird`?

locale shows “en_NZ.utf8” everywhere, and date produces output like “Thu Nov 22 08:39:49 NZDT 2018”. So the clock is 24 hours, as expected. But while Thunderbird 60.3.1's “Date and Time Formatting” is ...
1
vote
0answers
25 views

Change errpt logs language for AIX systems

I have AIX 6.X and 7.X systems installed having FR as the default language; as expected, the errpt command's output is in FR. Is there a way I can generate the errpt logs in EN without changing its ...
4
votes
2answers
91 views

Why does LC_MESSSAGES need to be exported on macOS homebrew bash to take effect?

On macOS, with bash installed from homebrew, I noticed that setting LC_MESSAGES seems to have some effect on the current shell's locale settings, but messages doesn't actually change until LC_MESSAGES ...
0
votes
0answers
32 views

Make SSH daemon override /etc/default/locale

Currently in my remote machine the /etc/default/locale sets only LANG, so even if my SSH forwards LANG and LC_*, it would be overridden to the LANG in default locale. LC_* variables works as expected. ...
25
votes
3answers
4k views

Why does sort say that ɛ = e?

ɛ ("Latin epsilon") is a letter used in certain African languages, usually to represent the vowel sound in English "bed". In Unicode it's encoded as U+025B, very distinct from everyday e. However, if ...
0
votes
1answer
88 views

How to start GNOME temporarily with a different GUI language with Wayland?

I know how to start a GNOME session in a console tty under Wayland (original source) and also the LANG=en-US trick that usually works in Linux applications. Now from the previously linked source I ...
3
votes
0answers
85 views

Case-insensitive C locale

I'm trying to create a custom locale for use with the LC_COLLATE variable which sorts text just like the C locale, with the only exception that it sorts case-insensitively. I need this because I have ...
0
votes
1answer
226 views

Terminal shows non-ascii? characters in UTF-16 hex codes

todoroki@todoroki-VJZ13B ~>printf "ä\n" echo "ä" ä ä ä \udcc3\udca4: \u30b3\u30de\u30f3\u30c9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093 ...
0
votes
0answers
163 views

Windows-like LC_COLLATE?

One of the most infuriating things that causes me much frustration when I am using Linux is the completely assinine way that files get sorted when sorting by name. This is compounded by the output of ...
1
vote
1answer
40 views

How to know if man pages are written in my language?

I know my language hindi is in my locale. I have tried to access the hindi man page using this command- man -Lhi man But it returns english man pages. So I want to find out how to know if man pages ...
0
votes
2answers
431 views

Can't login to Alpine Linux due to a faulty keymap configuration

I have a fresh Alpine Linux 3.8.0 installed on a local disk, dual booted with Ubuntu 18.04. While trying to solve some GUI localization issue, I've entered a wrong keymap in setup-keymap. Sadly, ...
1
vote
1answer
300 views

Changed locales to en_US.UTF-8 but program still tries to translate to other language

I change the systems locale settings to en_US.UTF-8 with dpkg-reconfigure locales. The locale command outputs: LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="...
1
vote
1answer
239 views

Is sort -k1,2 equivalent to sort -k1,1 -k2,2?

I'm experimenting with GNU sort and LC_COLLATE="en_US.UTF-8". I have a file called 'test': 1,0 1 10 2 1,0 3 10 4 With sort -k1,2 as well as with simple sort test the order doesn't change: $ sort -...
14
votes
1answer
3k views

Debian 9: How to set English language with German Locale?

I want to use English language with German locale settings. Right now my system runs with the following setup (configured during installation procedure in Debian Expert Installer): Language: English ...
1
vote
0answers
31 views

Where to define what locales to generate in centos7?

I'm building a minimal image for netbooting for centos7 so every byte counts. But the default /usr/lib/locale/locale-archive is 100+MB big. I can generate a trimmed down version of the file using ...