Questions tagged [locale]

a way of customising messages to be suitable for different languages

121 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12 votes
2 answers
1k views

How to display characters in (virtualbox) TTY?

I'm running Ubuntu 12.04 in VirtualBox, but can't get Chinese chars to display correctly. Here's what chars that should be Chinese look like: I've done everything I could, including: sudo apt-get -y ...
laike9m's user avatar
  • 221
9 votes
0 answers
1k views

Why does apache2 default to LANG=C instead of UTF8 or system default

The 10-year-old comment in /etc/apache2/envvars simply says "The locale used by some modules like mod_dav", but why can't mod_dav be fixed to also handle a better LANG setting for the rest of apache?
Collin Anderson's user avatar
6 votes
1 answer
2k views

Bangla Font issue in Terminal

I have a program that outputs Bangla in the terminal. But unfortunately, the output is not displayed properly by gnome-terminal in Ubuntu 16.04 LTS. The output should look like this: আপনাদের দোকা...
Asiful Nobel's user avatar
4 votes
0 answers
2k views

Can't get unicode characters to display on Ubuntu Server 20.04.1

I'm running Ubuntu Server 20.04.1 (no GUI) and want to be able to see unicode characters in the terminal. Just to be clear: I'm not SSHed into it, the terminal I'm using is the one directly on the ...
M H's user avatar
  • 41
4 votes
0 answers
429 views

How to create a custom locale in 2019?

In Ubuntu 18.04 I would like to create a new (custom) locale. Is this possible? There seem to be many older entries on how to do this but nothing current (none of the 'old' ways are working for me). ...
G.W.'s user avatar
  • 643
4 votes
1 answer
1k views

LC_ALL error after updating ubuntu to 18.04 (from 17.10)

After update I get this message box. Error found when loading ‘/etc/profile’ locale: Cannot set LC_ALL to default locale no such file or directory locale: Cannot set LC_ALL to default locale no such ...
Shhhmalla's user avatar
4 votes
0 answers
799 views

snap cannot access locale

While creating a snap, I kept getting an error like: locale: Cannot set LC_ALL to default locale: No such file or directory. In my snapcraft.yaml, I added locales to build-packages but no luck. I ...
MSIS's user avatar
  • 141
4 votes
0 answers
609 views

Changing default locale from Terminal and got "hash collision"

I am currently translating the User Interface of meld for users in Taiwan. I launched the compiled version but the system do not display with the required locale. I checked my system settings and ...
tomchiukc's user avatar
  • 248
3 votes
1 answer
2k views

Ubuntu shows incorrect Thai language with 'ls' command

Ubuntu shows filenames in Thai language incorrectly. $ locale LANG=th_TH.UTF-8 LANGUAGE= LC_CTYPE="th_TH.UTF-8" LC_NUMERIC="th_TH.UTF-8" LC_TIME="th_TH.UTF-8" LC_COLLATE="th_TH.UTF-8" ...
taro's user avatar
  • 33
3 votes
0 answers
911 views

How to make Kubuntu display date and time in English?

I am using Kubuntu 18.04 and it seems that despite having my whole system being setup in English, the date and time display (like days) is sometimes displayed in French, it seems related to the ...
Natalie Perret's user avatar
3 votes
0 answers
1k views

Dead keys aren't working in wine

I'm trying to use MS-Office 2010 (I know... it's pretty old) with Wine and everything but my dead keys are not working perfectly. With any other application in Ubuntu 16.04 they works well... To ...
Fernando Ginez da Silva's user avatar
3 votes
0 answers
437 views

How to make a new-defined alphabetic sort order in a locale work?

I'm working on a new Latin-based script for Persian. So I've used such lines in GB locale file, to modify the sort order: First of all, I've introduced the new characters in such way: collating-...
AliNajafies's user avatar
  • 5,854
2 votes
0 answers
155 views

Kubuntu 22.04 with Arabic hints in console

I changed my locale settings to English US in Kubuntu 22.04, but still some system hints in Arabic as shown in the next screenshot of console: The installation language was English too. The only ...
SaidbakR's user avatar
  • 737
2 votes
1 answer
220 views

Where has en_SE gone in 21.10?

I had a Kubuntu system (actually many) set up with en_SE.UTF-8 because it's the only locale that has: english, metric, YYYY/MM/DD and a few other non-stupid things. It was working great. Then this ...
dargaud's user avatar
  • 948
2 votes
0 answers
1k views

How to set first day of week to be Monday?

I'm running Ubuntu 20.04 and have my locale/region set to US. I want to keep my region to US but only change the first day of week to Monday. How could I do this?
Martin Zeltin's user avatar
2 votes
0 answers
797 views

How to have xRDP acknowledge current user's locale?

My problem is that xRDP does not seem to recognize the ~/.pam_environment file of the user, who is being logged in. What I did: I have set up a fresh Ubuntu Server 18.04.02 LTS I installed MATE as ...
Igor's user avatar
  • 203
2 votes
0 answers
249 views

Sudden swedish keyboard problem

I have a problem with my keyboard layout in any terminal. Swedish keys/characters are suddenly not working anymore in any terminal. Works fine in any gui application but not in any terminal. But all ...
Botulf's user avatar
  • 21
2 votes
1 answer
251 views

Cant generate locale float exception

I am getting the error en_US.ISO-8859-1.../usr/sbin/locale-gen: line 177: 8091 Floating point exception(core dumped) localedef $no_archive -i $input -c -f $charset $locale_alias when I run sudo ...
Alex's user avatar
  • 21
2 votes
0 answers
2k views

Cannot set LC_ALL to default locale: No such file or directory

This error occurred when I rebooted ubuntu18.04. Maybe it was because I accidentally deleted the native Chinese language of the system before restarting it. I can't turn on my laptop now. What ...
H.Russ's user avatar
  • 21
2 votes
0 answers
270 views

Hebrew language in Ubuntu 16.04.4

I'm using 16.04.4 LTS (GNU/Linux 4.4.0-119-generic x86_64) with Xfce. I have Hebrew folder names that are shown with invalid encoding: How can I fix it?
Kfir's user avatar
  • 21
2 votes
0 answers
203 views

LANG=pt_BR.UTF-8 Not supported

My LANG is pt_BR, when I start any of the components of LibreOffice I see messages stating that LOCALE is not supported. When trying to open files in docs, I do not see files with accented names. ...
user217277's user avatar
2 votes
0 answers
470 views

Ubuntu 16.04 - Time shown by clock widget in the task bar is incorrect

I have already manually setup some symlinks that should guarantee system time to be according to the locale I want, namely ln -sf /usr/share/zoneinfo/Canada/Eastern /etc/localtime ln -sf /usr/share/...
Proksima's user avatar
2 votes
1 answer
3k views

/etc/default/locale permission denied help

When I try to change my locale I type update-locale and it says /etc/default/locale can't write: permission denied I don't know what to do.
Dylan Milner's user avatar
2 votes
1 answer
915 views

UTF-8 Issue, don't know where?

I am running a node.js server and the following line just isn't working. console.log("☺☻♥ مرحبا 你好"); I opened up the file in nano and cat on my ubuntu server 14.04 (no gui, no window manager, no ...
Karl Morrison's user avatar
2 votes
1 answer
4k views

ibus -> preferences doesn't show

im trying to set my kubuntu to accept Japanese input, I followed this guide https://www.youtube.com/watch?v=BkwgyevmSGk#t=95 I clicked ibus, But it does nothing, I cant see anything ibus on my system ...
user252612's user avatar
2 votes
1 answer
1k views

fixing locale settings permanently

I am getting the 'unsupported locale setting' error as referenced here (on Ubuntu 13.10). However, following Martijn suggestion only fixes the problem temporarily. Opening a new bash reverts to the '...
Roee E's user avatar
  • 121
2 votes
1 answer
482 views

Unsupported locale prevents me from starting apps

I have the following locale settings when I type export: declare -x LANG="es_ES.ISO-8859-1" declare -x LANGUAGE="es:en" declare -x LC_ADDRESS="ms_MY.UTF-8" declare -x LC_IDENTIFICATION="ms_MY.UTF-8" ...
Jago's user avatar
  • 121
2 votes
1 answer
962 views

Can not correct locale settings

I am running an Ubuntu image provided by my company, it seemed to have some strange locale settings to begin with. Firefox uses the French dictionary by default and I get warnings when doing anything ...
Wolfy87's user avatar
  • 161
2 votes
1 answer
2k views

Changing Ubuntu locale settings by GUI crashes the accounts-daemon

I'm usung Ubuntu 12.04 and after an automatic update it changed the system default encoding form UTF-8 to "ANSI_X3.4-1968". I realized that when my code comments in Eclipse appeared with strange ...
yohann's user avatar
  • 21
2 votes
0 answers
2k views

Gparted Partition editor not working

I had Windows and installed Ubuntu 12.10 alongside Windows. I want to allocate suitable disk space to Ubuntu. I installed the Gparted Parition Editor from the Software Center. My problem is: It ...
user12448's user avatar
2 votes
1 answer
745 views

Make GDM3 in Ubuntu 12.10 show a list of available languages

The local computer pool is used by a large number of students that prefer to choose the language of the Ubuntu desktop. Not all want English. Unfortunately, the GDM login manager does not present a ...
siretart's user avatar
1 vote
0 answers
206 views

How do I install a new language and enable it from the command line?

This seems to be undocumented. The problem is that I have a headless server, which was minimally installed with one language, but must be reconfigured to a second language; I need to script this ...
EML's user avatar
  • 268
1 vote
1 answer
481 views

Switch chrome time inputs to 24h format, still using English language

I would like to have the 24h time input (instead of 12h AM/PM format) format for <input type="time"> HTML elements, without switching the full system language to German. My settings ...
Alex's user avatar
  • 1,042
1 vote
2 answers
196 views

How to Reinstall Keyboard in Kubuntu (Wrong Layout) for CSA keyboard (CAN/CSA Z243.200-92) aka: Canadian Multilingual

Can I download a new keyboard definition for the layout Canadian Multilingual (CSA keyboard) ? It's not what I am used to and as one might guess it is pretty annoying. Even if I select the same ...
Benjamin Vincent's user avatar
1 vote
0 answers
57 views

persisting locale

I want my web browser, terminal emulator, and nautilus to show in English, and I tried to set english system-wide in language support, but it didn't change except the date on the top and the gray ...
Taro's user avatar
  • 169
1 vote
0 answers
98 views

Change location for man pages

Until Ubuntu 18.04, if you wanted to change the man pages location, you just have to execute something like this (depending on the desired language you wanted, in this case, spanish): sudo apt install ...
Ommadawn's user avatar
  • 383
1 vote
0 answers
451 views

Ubuntu 18.04 set locale to Hebrew

I'm using PuTTY and I've created locale following guides, and something just not working there.. I used commands like localectl set-locale LANG=he_IL.utf8 LANGUAGE="he_IL:he" Running test ...
ExCluSiv3's user avatar
1 vote
0 answers
304 views

How to fix Can't find bundle for base name ncs_rest_sim, locale en_us when running devspace simulator on Ubuntu

I Am trying to install devspace simulator on ubuntu 20.10 with java version "1.8.0_271" and I get the following error when I run it: HTTP ERROR 500 Problem accessing /. Reason: Can't find ...
francis's user avatar
  • 359
1 vote
0 answers
169 views

After update to ubuntu 20.04 problems with displaying characters

locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" ...
kor1um's user avatar
  • 11
1 vote
0 answers
258 views

locales (UTF-8) are not set as expected

Ubuntu 16.04.6 LTS is installed on my virtual machine. When I use PuTTY to login, I get the following output: karsten@v38xxx:~$ who am i karsten pts/0 Jun 26 10:14 (87.175.23.xx) karsten@...
kasch's user avatar
  • 33
1 vote
1 answer
314 views

Kubuntu 20.04: non-english filename characters show as question marks on usb sticks mounted through the terminal

... but show correctly if the usb stick is mounted through dolphin. The usb stick is formatted in fat32 and has personal data files copied from a windows7 system. Is there a way to show the ...
Alexander Sofianos's user avatar
1 vote
1 answer
359 views

Create desktop shortcut with locale change at runtime

I have a wine application I need to run in Chinese locale. It works properly from terminal with: LC_ALL=zh_CN wine '.wine/path_to_program/program.exe' and my desktop shortcut works with Command set ...
Drew's user avatar
  • 141
1 vote
0 answers
837 views

how can I change the locale shown on the login screen of lubuntu

I just installed Lubuntu 20.04 in VirtualBox and applied available updates/upgrades. It all works well enough but even though I've checked the locale is correct for UK english, the login screen still ...
Mark Simmons's user avatar
1 vote
0 answers
2k views

Ubuntu 18.04 chroot locale can't set

I am installing a Ubuntu 18.04 chroot on a Debian 8 system, using ubuntu-base-18.04.3-base-i386.tar.gz as the base (found from the Ubuntu website). I mount the /sys and /proc directories into the ...
Wimateeka's user avatar
  • 255
1 vote
1 answer
1k views

Can't install octave forges with Ubuntu 19.04

Octave Forges fails to install octave from repositories on Ubuntu 19.04 using snap octave v5.1: pkg install -forge symbolic error: get_forge_pkg: could not read URL, please verify internet ...
Yousef Saber's user avatar
1 vote
1 answer
444 views

Why cedilla-portuguese.sh is in default /etc/porfile.d/ list?

I never used or selected Portuguese locales, either had any connection to Portugal or Brazil, so why we have these scripts running every interactive bash running?
radistao's user avatar
  • 195
1 vote
2 answers
951 views

How to set console language to English in KDE?

I was experimenting with regional setting in KDE and it set UI language to Russian for me. Later I changed UI language back to English, but it still remained Russian in console. How to change that? ...
Dims's user avatar
  • 1,803
1 vote
0 answers
41 views

SSH session show à instead of @

I have Ubuntu VM (installed on esxi). I was trying to run a curl command over a ssh session: curl -L https:// xyz.com/latest After running above command my ssh session started showing as below: ...
Pankaj Sheoran's user avatar
1 vote
0 answers
441 views

execute sh file with Russian or Chines Chars - Saved as UTF-8 or Unicode

I have a file which has some russian characters in it: #!/bin/sh sed -i "s/\bVAR1\b/Привет, как ты/g" file1.txt When I save this file I had to save this as UTF-8 or Unicode format as I have some ...
Venkatesan Sundar's user avatar
1 vote
0 answers
66 views

The installation or removal of a software package failed. langauge setting problem

I am very new to Ubuntu and i installed Ubuntu today. And when i tried to install chromium (or anything), i am getting this error: installArchives() failed: perl: warning: Setting locale failed. perl: ...
THANOS A'LARS's user avatar