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.
526
questions
0
votes
0
answers
19
views
What does a locale’s codeset get used for?
According to glibc’s manual:
Most locale names follow XPG syntax and consist of up to four parts:
language[_territory[.codeset]][@modifier]
For example, you could have a locale named zh_CN.GB18030 ...
1
vote
2
answers
30
views
Change locale LC_NUMERIC decimal_point for shell or individual command
In my bash environment (version 5.2.26), the only available locale is French, which is normally fine. But like most people in France, it is regularly necessary to handle floating point numbers with a ...
2
votes
1
answer
83
views
Cannot set LC_* to default locale: No such file or directory
I just got my Raspberry Pi 4B 8GB installed with Debian 12 Bookworm, made WiFi, SSH, etc working as I wanted to, but I often get locale errors like with tasksel command:
root@rpi4:~# tasksel
perl: ...
2
votes
1
answer
40
views
How to unset a locale variable using localectl?
Under Fedora, I've set a custom locale variable value:
localectl set-locale LC_TIME=en_DK.UTF-8
This modified LC_TIME indeed.
Now I'd like to get it back to unset/empty/default state.
How do I do ...
1
vote
1
answer
56
views
LC_TIME portability (and other locale settings)
It seems that Linux and FreeBSD (at least) have different notions of how presentation of time is implemented in different locales (LC_TIME), notably but not entirely in how the hour of day is ...
0
votes
0
answers
16
views
Displaying European accents without Xorg [duplicate]
I'm setting up Arch Linux on a new computer, and I intend to use bspwm as a window manager. I know bspwm runs on Xorg, and there is plenty of information online on how to display region-specific ...
0
votes
0
answers
26
views
Add LC_CTYPE to Desktop Entry
I'm using fcitx5 with emacs, to enable entry of Chinese characters. There is a known issue with emacs, where in order to input Chinese characters, one needs to launch emacs using LC_CTYPE=zh_CN.UTF-8 ...
0
votes
0
answers
42
views
How do I prevent the locales from being re-generated?
Trying something on a local VM that runs Debian. Have a snapshot, from which I recover fairly often. As I am going back and forth, non-zero times have I ran into it re-generating locales, which takes ...
0
votes
0
answers
81
views
When I run sudo apt-get upgrade, it shows errors regarding initramfs-tools
When I run sudo apt-get upgrade, I get this output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly ...
0
votes
0
answers
37
views
Difference between localectl and LANG environment variable
My default language was set to en_IN. Then I came across update-locale and localectl to change my locale to support UTF-8. I changed it using
sudo localectl set-locale LANG=en_IN.UTF-8
However that ...
0
votes
1
answer
27
views
How to change locale of xfce4-terminal window?
I need to record a gif (using peek) of copy/paste for my project. But I want the interface to be English.
I was able to do this once, I've added
env LC_ALL=C exo-open --launch TerminalEmulator
in ...
1
vote
0
answers
39
views
Error of custom en_US-based locale compilation
While in /usr/share/i18n/locales I execute the following (the first line is because I do not want en_US to be messed up):
cp ./en_US ./en_SN
sudo localedef -i en_SN -f UTF-8 -vc ./en_SN.UTF-8
The ...
0
votes
0
answers
40
views
git cli language default to first non english value
I have my computer language set to en_GB with fr_FR as backup only for spellcheck and money/measurement formatting purposes.
CLI apps work fine like that except git, who insist on using the first non ...
0
votes
0
answers
58
views
user-dirs.dirs and user-dirs.locale on Debian and Mint
I am nervously reviving an old instance of Linux Mint on a fresh install of the latest Debian 12 Bookworm. The Mint is about four or five years old and its /home folder is backed up on another drive ...
1
vote
0
answers
26
views
How to change my calendar to icelandic traditional in linux
This is similar to what Svante Janson described in the article: https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=8c996f399e30ccc6c55164bb8e169fa5ff398168
Icelandic
Begins
...