We changed our privacy policy. Read more.

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
1
vote
0answers
35 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 ...
-2
votes
3answers
34 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?
0
votes
0answers
21 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=...
0
votes
0answers
13 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-...
0
votes
0answers
13 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....
0
votes
0answers
5 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 ...
2
votes
1answer
63 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" ...
2
votes
1answer
26 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 ...
0
votes
0answers
11 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? ...
1
vote
1answer
288 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....
-1
votes
2answers
41 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 ...
0
votes
1answer
232 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 ...
6
votes
1answer
213 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 ...
1
vote
1answer
88 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 &...
0
votes
1answer
55 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 ...
0
votes
0answers
57 views

Printing country flags in gnome-terminal does not work

I would like to print flags on my terminal. However, when I try - using ISO 3166 specifications, I get the individual letters (or some gibbrish) instead of the desired flag. I have been trying to do ...
0
votes
1answer
159 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, ...
2
votes
0answers
26 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-...
1
vote
1answer
194 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 --------- ...
3
votes
0answers
56 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 ...
1
vote
0answers
74 views

Why do BSD and GNU grep give different results here?

I distribute a slightly modified version of a public CSV file. To generate the modified CSV file I use a short one-line grep command: grep -Ev '^([A-Za-zA-Za-z]|[0-90-9]*),' input.csv Actual project ...
0
votes
0answers
138 views

How to apply permanently setxkbmap setting for all users on Ubuntu 18.04.5 LTS

I've found the command to set my keyboard output to Belgian, but everytime I restart my computer I can't use some typical characters. Example: "T^ete" instead of "Tête" (What means ...
0
votes
1answer
53 views

How to detect that POSIX locale is not provided on POSIX shellscript and POSIX utilities, portablily?

So far I have found that Termux is the only POSIX environment without POSIX locale; as a result the following command, for example: awk 'BEGIN{for(i=1;i<256;i++)printf"%c",i;}' outputs ...
0
votes
2answers
94 views

Diffence between /etc/locale.conf and /etc/default/locale

I'm running KDE neon 5.20 and found two files /etc/locale.conf and /etc/default/locale with similar content. What's the difference between these two files and which one should I edit to change the ...
2
votes
1answer
62 views

7 years later: same issue - same incomplete error message Fails on 'file not found' but doesn't specify target

locale: Cannot set LC_ALL to default locale: No such file or directory This started happening after a dist-upgrade from Debian Jessie to Stretch (on the way to Buster). Query it here and the same ...
2
votes
2answers
960 views

how to set locale correctly manually?

I'm building a docker image based on Ubuntu 14.04 and am having troubles to set the locale correctly. (I know 14.04 is EOL and all but it should still work as well, right? I was denied support from ...
1
vote
1answer
2k views

system locale are setting improperly on Redhat

On Redhat 7.9 (fresh installation) many command returns warning like on example: # yum repolist Failed to set locale, defaulting to C When check locale it returns: # locale locale: Cannot set ...
0
votes
1answer
65 views

What are the effects of setting locale to a multi-byte encoding like UTF-8?

As an American I have the obvious choices of en.UTF-8 or ISO-8859-1 encodings for the locale setting. Most guides recommend using the UTF-8 encoding, but I am a little nervous that it is a multibyte ...
8
votes
1answer
516 views

Why do some Linux utilities output Unicode (when it is not expected)?

While building a tool that reads command output I realized that some Linux utilities output Unicode characters when I didn't really expect them to do so. For instance, find uses ‘ (as opposed to the ...
1
vote
0answers
815 views

Arch - Solve: Cannot Set LC_ALL to default locale: No such file or directory

I would like to change my locale in a VM running Arch. I'm following the documentation for Arch at: https://wiki.archlinux.org/index.php/locale and did this: Uncommented the language I want to try ...
2
votes
1answer
41 views

debian v10 locale interpretation in date command

I've noticed that after upgrade from Debian 8 to Debian 10, the date command produces different (12H) format though the same LC_TIME is set on both. It can also be easily demonstrated using LC_TIME in ...
0
votes
0answers
95 views

locale set-x11-keymap only works after reboot

I've set the X11 keyboard configuration on Debian 10 with: localectl set-x11-keymap latam So, I get: localectl System Locale: LANG=es_AR.UTF-8 LANGUAGE=es_AR:es VC Keymap: ...
0
votes
0answers
48 views

Custom compose key combination for the Arabic locale

...Hello, Hope you have a good day, I want to add a custom compose key combination for the Arabic locale ( ar_SA.UTF-8 ), But i didn't find a folder with name of the Arabic locale in /usr/share/X11/...
3
votes
3answers
210 views

How to properly decode utf7 file names obtained from an IMAP server

I have a few directories that I downloaded from an IMAP server. Example: $ find . -maxdepth 1 . ./&BCEEPwQwBDw- ./&BCMENAQwBDsENQQ9BD0ESwQ1- ./inbox ./&BCcENQRABD0EPgQyBDgEOgQ4- ./&...
0
votes
1answer
41 views

do not modify `iso14651_t1_common`

I am currently overwriting /usr/share/i18n/locales/iso14651_t1_common for some personalizations. How can I make sure this file never get updated when I update Linux? I mean which package I should not ...
4
votes
2answers
221 views

Firefox converts "Nr." to "№" - how to fix?

I'm using Firefox 80.0.1 in Kubuntu and Xubuntu Focal with language set to German on OS level and FF itself. locale returns de_DE.UTF-8 for everything except LC_ALL (empty). Firefox converts the ...
1
vote
1answer
34 views

Language is different than it's supposed to be

I want my computer's language to be English and everything else to be finnish. Problem is that my computer's language is finnish now too. My guess is that LC_ALL is overriding the LANG part. I'm using ...
1
vote
1answer
83 views

Can't type non-english characters in terminal

As the title says I can't type e.x. ř, č, š, etc. in terminal. My keyboard layout is set to Czech and I can type these characters in e.g. Firefox. I did regenerated my locales with sudo locale-gen ...
0
votes
1answer
372 views

UTF8 not displaying in rxvt-unicode

My XTERM works perfectly with UTF-8, but I want a lighter terminal. I am trying to use UTF-8 in rxvt, so I am using rxvt-unicode (urxvt) in Fedora 32 fully updated. But UTF-8 files are not render ...
0
votes
1answer
228 views

Piping with ">>" into /etc/locale.gen - permission denied with sudo [duplicate]

I'm trying to run the command: $ sudo echo ko_KR.UTF-8 UTF-8 >> /etc/locale.gen but I get permission denied. Strangely, it doesn't even ask for my password with sudo. However, if I type $ su # ...
0
votes
1answer
166 views

Locale on polybar is in US format instead of BR

Context: I'm running ArcoLinux with i3 as my window manager and polybar as my bar. During installation I chose the language to be English, America en_us. And Locale I chose Brazil, São Paulo. If I run ...
0
votes
1answer
24 views

Strange keyboard behaviour "k" not available under dwm except dmenu

I'm using a german standard keyboard (Cherry KC 1000, qwertz, with ä, ö, ü, etc.) set to us layout and installed an artix linux (openrc) system from scratch manually and seemingly something very ...
0
votes
0answers
20 views

Why are several of my locale components Spanish?

Even though I've repeatedly configured the locale on my Xubuntu 20.20 system on a MacBook Pro to be "en_US.UTF-8", the "locale" command insists that on several formats be "...
7
votes
1answer
393 views

Is the `utf8` in `en_US.utf8` a canonical character set?

The output of locale seems to distinguish between upper and lowercase: % locale -a C en_AU.utf8 en_US.utf8 POSIX More commonly, I've seen the hyphenated and uppercase UTF-8. What is the canonical ...
2
votes
1answer
38 views

How to replicate these locale settings in the console?

I'm not an UI-person, but a terminal person. I prefer to do my work in terminals. However, this time when I upgraded a debian package (I forgot which) the whole locale system went down the drain. I do ...
0
votes
2answers
2k views

How to fix missing locale files on Manjaro?

I'm running Manjaro Gnome and installed some updates with the package manager. Since then I keep getting these messages in the console: manpath: can't set the locale; make sure $LC_* and $LANG are ...
0
votes
1answer
42 views

man show pages in another languages only partially

I've faced a problem when trying to set French for a CentOS 8 system as my main language that some man pages are still in English. For instance, man man is in French, but man cp or man find are in ...
2
votes
0answers
50 views

Same locale, different distrib, inconsistent behavior

I migrate a system from a CentOS 6.9 VM to a Debian 10 Docker container, and I can't explain why thousands separator differs. Same locale (fr_FR.UTF-8), same version of the locale yet different ...
2
votes
2answers
868 views

How widespread is the C.UTF-8 locale?

As far as I know, the C.UTF-8 locale started as Debian's attempt to modernize the standard C locale and over time some other distros, such as Fedora, added support for it. But what about other Linux ...
1
vote
0answers
44 views

Call script in locale definition

I am following the answer in https://askubuntu.com/a/162714/146591 to generate a custom locale on my system. Many of the fields that can be configured in a locale are input for the date utility (https:...

1
2 3 4 5
9