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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
7 views

Language icon is missing from the Cinnamon settings! (Debian 11 installed with Cinnamon)

Working in a multicultural environment, I recently needed to switch the language displayed in my computer GUI (Debian 11 installed with Cinnamon). And I did not manage to do it easily! I have been ...
user avatar
0 votes
1 answer
26 views

Characters do not display properly in terminal (st)

When typing German umlauts (ä,ö,ü) into the terminal (I am using st on Arch Linux, $XTERM is st-256color), it displays only <ffffffff>. Locale seems to be set properly. Output of locale is ...
user avatar
  • 3
0 votes
0 answers
15 views

Debug locale config

On a Debian-based system, I am trying to get Thunderbird to use the ISO-8601 date format. I believe that I need to set LC_TIME to a value that uses the %Y-%m-%d format for d_fmt. But it is not being ...
user avatar
  • 14.2k
1 vote
1 answer
40 views

Locales were not being generated by dpkg-reconfigure locales

According to this problem that I've encountered today: Locale not setting on Debian I have solved my problem by running sudo apt-get install locales-all. But one question - what is sudo dpkg-...
user avatar
0 votes
1 answer
47 views

Locale not setting on Debian

I've been having troubles with locales recently. I've been having a problem with them since a long time ago, but didn't bother to fix (dumb me, maybe back then I was closer to solving this problem). ...
user avatar
1 vote
1 answer
68 views

Cannot open files with Umlaut with Libreoffice on Debian

I have set up a new system with a backported debian 11 and KDE Plasma 5 and wanted to continue working on my files. Some of them are from shared project containing Umlaute (ö, ü, ä) which I cannot ...
user avatar
  • 141
0 votes
1 answer
58 views

PERMANENTLY change the output format of the 'date' command in my Kali Linux

So I have 2 different Linux installations. One of them is Ubuntu and the second one is Kali. When I run date command with no options/arguments on my Ubuntu install I get: michal@ubuntu:~$ date Thu 24 ...
user avatar
1 vote
1 answer
21 views

Missing Oracle Linux (red hat family) Locales

I was logging on to a dev oracle linux 7 system and noticed these warnings when logging in: Last login: Thu Mar 24 15:23:29 2022 from x.x.x.x -bash: warning: setlocale: LC_ALL: cannot change locale (...
user avatar
0 votes
1 answer
15 views

How to update a locale and timezone on a static image that isn't running

I am building an Ubuntu static image (for flashing to a USB) where I want to preset the timezone and locale in that image so that it is already set when the image boots. It appears the only way to ...
user avatar
  • 121
0 votes
1 answer
35 views

Why does mkdir messes up special characters (german umlauts)?

I have a system which is set up with Debian. Running the command mkdir xx_ü on this system, creates a directory called 'xx_'$'\303\274'. Running the same command on a system that is set up with ...
user avatar
  • 156
2 votes
1 answer
58 views

How to find a locale name for a given character encoding?

The man page for setlocale seems to say that the language code and the character encoding name are sufficient to set the appropriate locale: A locale name is typically of the form language[_territory]...
user avatar
0 votes
1 answer
62 views

Origin of date command default US format

date seems to have a very odd default format in the US locale: Thu Jul 9 17:00:00 EDT 2020 using a space-padded day-of-month and putting the (24-hour!) time in the middle, between the month+day and ...
user avatar
  • 151
7 votes
1 answer
304 views

Is "warning: range of the form `[o-b]' is locale dependent" a bug in gawk 4.1.0?

While writing some awk code I was using the --lint option for gawk 4.1.0. To my surprise I get a warning warning: range of the form `[o-b]' is locale dependent but my code has only a foo-bar outside ...
user avatar
  • 801
1 vote
1 answer
27 views

Why does Ctrl+"special character" on my Hungarian keyboard translate to corresponding English layout keys?

I have a Hungarian keyboard and in the terminal pressing Ctrl and any of öüóéá will produce the character that would be there on the English layout, so 0-=;' respectively in both kitty and gnome-...
user avatar
  • 403
1 vote
1 answer
27 views

Charset formatting problem

I have a problem on my server, it's not recognizing the symbols, i already tried doing a lot of stuff on system locale, but nothing has fixed this. I need to turn this (output of "ls" ...
user avatar
  • 13
1 vote
0 answers
50 views

How to use the unix command "sort" with user-defined collation list?

Background: The kanji ideograph character sorting / encoding sequence in GB2312, GB18030-2005, GBK, Big5, CNS-11643 varies and are different to how they get sorted in Unicode (incl. UTF-8). As of ...
user avatar
0 votes
0 answers
24 views

UTF file names listing in xterm

I noticed that file names containing UTF characters have different listing results in my xterm & UXTerm. The first and the worst of all is they are listed/output as 8-bit enabled ASCII characters ...
user avatar
  • 485
2 votes
2 answers
46 views

Missing "en" locale

I'm on openSUSE Tumbleweed, and I'm trying to universally change my time to 24-hour format. Mostly for the KDE lock screen, but also other things. My first attempt was to set RC_LC_TIME="en_GB&...
user avatar
0 votes
0 answers
122 views

how to set SSH locale

I have a box running Poky Linux Rocko-2.4.2 with BusyBox. I set the locale to US English UTF-8 (en_US.UTF-8). If I log in as root directly at the console and execute: locale, I get the expected ...
user avatar
0 votes
1 answer
158 views

Gnome (Debian 11): How to install en_DK formats (date, numbers, units)?

I switched my system from Debian 10 to 11 (new computer), so I'm trying to revert to my normal settings. I have installed with en_US locale, which I do want for UI texts, but I need to revert to ISO ...
user avatar
  • 574
0 votes
1 answer
32 views

Locale not supported by C library when running Thunderbird

Thunderbird still runs fine but it says: Using fallback 'C' locale. en_US.UTF-8 UTF-8 has been uncommented in locale.gen. LANG=en_US.UTF-8 has been put in locale.conf. locale-gen has been run. ...
user avatar
  • 111
2 votes
1 answer
45 views

Debian tcsh not respecting locale for character class expansion

Using Debian 11, tcsh version tcsh 6.21.00 (Astron) 2019-05-08 (x86_64-unknown-linux) options wide,nls,dl,al,kan,sm,rh,nd,color,filec In a directory with two files, a and A, $ echo [a-z] a A This ...
user avatar
  • 41
0 votes
0 answers
32 views

Custom system locale results in unreadable output

I try to define a custom locale on Debian Bullseye, and everything is going well until I set the custom locale as the system locale. After I set the custom locale as the system locale output becomes ...
user avatar
  • 526
4 votes
1 answer
1k views

Debian 11 issue with locale: No such file or directory

The problem I encounter with Debian bullseye (v11): If I execute locale -a, I get the following output: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set ...
user avatar
0 votes
0 answers
20 views

PHY (Backplane) doesn't link to my NIC

I need to find out something about the auto-negotiation because the PHY VSC8489 doesn't build a link with my NIC. Maybe this is because the auto-negotiation isn't successful regarding the supported ...
user avatar
0 votes
0 answers
24 views

locale disagrees with localectl

~# localectl status System Locale: LANG=en_GB.utf8 VC Keymap: uk X11 Layout: gb X11 Model: pc105 X11 Options: terminate:ctrl_alt_bksp ~# locale LANG=POSIX LC_CTYPE= LC_NUMERIC="POSIX&...
user avatar
0 votes
0 answers
52 views

Create custom configuration for LC_NUMERIC

I want to change system behaviour so it uses "." as decimal separator and "" as thousands separator. I have checked LC_NUMERIC options and none of them seem to offer me this ...
user avatar
  • 1
0 votes
0 answers
24 views

idn2: Converting under an LC_ALL=C context

I'm using a script that has LC_ALL=C set throughout it to optimize data processing, and am trying to use idn2 over a Perl solution to gain increased speeds. Below are data and script samples: domains....
user avatar
  • 139
0 votes
1 answer
1k views

LC_ALL: cannot change locale (en_US.utf-8)

I know this question has been asked before but none of the answers worked out for me. I use Arch Linux and KDE with the linux-zen kernel and I have set my locale to en_US.utf-8. Whenever I open ...
user avatar
  • 25
0 votes
1 answer
63 views

Automate locale changes on Linux

I'm finding it quite tricky to programmatically change locales on Ubuntu and CentOS. I find many guides on using the console interface like here, manually stepping through things, but I want to ...
user avatar
  • 559
3 votes
1 answer
55 views

Sorting ls output respecting locale but not ignoring nonalphanumeric characters

Let's say I have a directory with the files _b, a, c, č, d. I would like to sort the files according to the cs_CZ.UTF8 locale but without ignoring the underscore, ie like this: _b a c č d. Currently, ...
user avatar
1 vote
0 answers
87 views

Why don't browsers respect LC_TIME?

I'm using en_US for system language, but pl_PL for date format. It works OK in the entire system, and running date gives me a correctly formatted date. It also shows Polish as Time format in the GUI ...
user avatar
  • 111
-2 votes
3 answers
1k views

How can I install new locales for Debian?

When I run localectl show-locales on Debian, I see $ localectl list-locales C.UTF-8 en_US.UTF-8 Why is this list so abbreviated?
user avatar
  • 22.4k
0 votes
0 answers
25 views

Problem with utf-8 encode

locale-command return the following: LANG=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY=...
user avatar
  • 123
0 votes
0 answers
180 views

Sudo throwing a "Bad item passed to pam_*_item()" error

I was trying to install ROS 2 on my Ubuntu and I ran the following cell: locale # check for UTF-8 sudo apt update && sudo apt install locales sudo locale-gen en_US en_US.UTF-8 sudo update-...
user avatar
  • 133
0 votes
0 answers
23 views

How is the locale for the compose map determined?

I noticed that on Ubuntu 20.04, some dead key combinations act differently than expected. For instance, dead acute followed by c produces ç, not ć as one might expect. According to https://unix....
user avatar
0 votes
0 answers
13 views

Change displayed name of home folder in gtk3 file chooser

In the gtk3 file chooser the left side is reserved for my xdg user dirs and bookmarks. The entry for my home folder is correctly localized as "Persönlicher Ordner" (personal folder). I find ...
user avatar
2 votes
1 answer
81 views

How do LC_ variables work?

There are a lot of questions here about how to set these variables but none about how they work. If I type locale in a terminal it shows me a bunch of variables: LC_COLLATE="en_GB.UTF-8" ...
user avatar
2 votes
1 answer
77 views

How to set `export LC_PAPER=a4` to not break apps?

I had to remove export LC_PAPER=a4 from my ~/.bashrc as it was breaking characters display in screen and some other apps : symbols display wrong in `screen` - ascii or utf . Therefore, question, how ...
user avatar
2 votes
2 answers
38 views

How do I create a new locale, based on an existing locale and a different language?

I want to create an en_IL.UTF-8 locale: Languages is English (US English if I need to be specific), but date, number, etc. as is common in Israel/Palestine. What do I need to do to make this happen? ...
user avatar
  • 7,249
0 votes
1 answer
772 views

Change language for one user on Fedora 34 w/ XFCE

I'm in a situation where I have to set the language for one user on Fedora 34 (with XFCE). I found the settings to set the system language, but I can't figure out how to change the language for a user....
user avatar
  • 10.3k
-1 votes
2 answers
159 views

How to comprehensively change my locale choice after installing antiX?

I've installed antiX Linux (v19.3), with a certain locale (let's say it's xx_XX.UTF-8). After installation, I've had a change of heart and want the locale for all users to be/to default to something ...
user avatar
  • 7,249
1 vote
2 answers
867 views

Failed to set locale. Fix your system

A 32-bit server with openSUSE Tumbleweed: While logging in, I received this warning: /usr/bin/manpath: can't set the locale; make sure $LC_* and $LANG are correct To fix the above error, I run these ...
user avatar
  • 1,315
6 votes
1 answer
304 views

awk doesn't recognize field as a number

I think it's somewhat a simple problem but I don't understand what's happening. I have a file such as Scaffold_19:10402053-10402986 Scaffold_33:25064012-25064819 92.806 278 5 5 8 279 269 1 ...
user avatar
2 votes
1 answer
154 views

How do Bash and Zsh handle collation in patterns and regexes?

Consider the following example: $ bash --version GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later &...
user avatar
  • 123
0 votes
1 answer
83 views

Installing bitcoin-core in Arch Linux (VirtualBox) returns: unknown location(0): fatal error: in runtime error: _S_create_c_locale name not valid

I'd like to maintain a BTC node / wallet on a VM within VirtualBox. For this I installed Arch Linux, manually. The process wasn't the smoothest experience, but I got it working, eventually. Then I ...
user avatar
0 votes
1 answer
432 views

Manjaro - How to add Korean keyboard?

I've looked around multiple guides for Manjaro KDE to add a Korean keyboard, but none of them work. I can "swap" to Korean, but my input is still English. I've added Korean to my locale, ...
user avatar
2 votes
0 answers
35 views

Making the locale time format more compact

dmesg -T gives human readable time format, and I want to make it more compact, from this [Пт мар 12 09:18:54 2021] wlan0: associated to this [12.03.21 09:18:54] wlan0: associated I'm using ru_RU.UTF-...
user avatar
  • 21
1 vote
1 answer
571 views

How to force unzip listing to use unicode UTF-8

ZIP zip -r --symlinks ../a.zip a a.txt adding: a/šáčžřŠÁČÝŘŽÚ§/ (stored 0%) Filename is stored properly in unicode. LIST unzip -l ../a.zip Length Date Time Name --------- ...
user avatar
3 votes
0 answers
85 views

Different collation behaviour between ubuntu 18.04 and 20.04 for Thai

There are two virtualbox machines on vagrant boxes ubuntu/bionic64 and bento/ubuntu-20.04 (first one is ubuntu 18.04 and the later is ubuntu 20.04). Once booted, we define locale en_US.UTF-8 with sudo ...
user avatar

1
2 3 4 5
10