Questions tagged [locale]

a way of customising messages to be suitable for different languages

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

xfce open save dialog box pathbar does not show buttons in Chinese

I am using xfce on my linux box. As the screen capture shows, the pathbar in any open save dialog box shows only directory name but not the button. That makes it hard to read. And my GUI language is ...
0
votes
0answers
20 views

start ubuntu 18.04 an error : end kernel panic -not syncing: attempted to kill init! exitcode=0x0000000b occurs by stack smashing detected

I downgraded my ubuntu 18.10 to 18.04 today. After rebooting and logining the downgraded 18.04, I met an error as follows: enter image description here. Then I run the following commands in the ...
0
votes
1answer
19 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 ...
0
votes
0answers
55 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 ...
0
votes
1answer
44 views

set system-language to english: apt showing messages in spanish

I installed ubuntu, using english as a language. Then I added spanish, meant to be used by another user. Now whenever I do something in apt the messages are in spanish This is the content of my ...
1
vote
1answer
32 views

Ubuntu datetime locale on login screen

I've installed Ubuntu 19.10, language/locale/formats are set in US/en. And everything seems to work OK, except datetime language on login screen (when I turn on my laptop and see fields for user/...
0
votes
1answer
23 views

Manually Editing Locale for Caja

I am British, using en_GB under MATE desktop - but I HATE HATE HATE the renaming of Trash to 'Rubbish Bin' in my locale. I consider it patronising and pointless, given the internal naming of all the ...
0
votes
0answers
32 views

I got an error immediately after login into ubuntu

I don't know what went wrong but I stuck into this difficult situation where I login into system and immediately I get this message as shown into image. I did try every possible solution on internet, ...
2
votes
1answer
101 views

I'm having a huge problem with locale and locale-gen in Ubuntu

I'm having some trouble with locale settings. I'm getting an error like this when I type locale in terminal: $locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: ...
1
vote
1answer
91 views

special character key comes with noname instead of letter on xev

KeyRelease event, serial 37, synthetic NO, window 0x2600001, root 0x269, subw 0x0, time 25839746, (517,242), root:(622,350), state 0x0, keycode 254 (keysym 0x11f, (no name)), same_screen YES, ...
0
votes
1answer
22 views

Russian Cryrilic Italics Displayed Incorrectly

A few characters don't appear properly when in Italic, for example: The character that looks like a u with an accent should be й and the last alphabetic u (in bold and italics should be) и. Any ...
1
vote
1answer
64 views

How to easily get rid of all of the unused locales?

It annoys me to have locales on my system that I will never use. Its wasted space and inefficient. Is there a way I can get rid of them permanently and have it only in USA English and Metric option?
0
votes
1answer
1k views

manpath: can't set the locale; make sure $LC_* and $LANG are correct

When I ssh into an EC2 instance running Ubuntu 18.04, I get this error: manpath: can't set the locale; make sure $LC_* and $LANG are correct I tried this but this didn't fix it: sudo locale-gen "...
2
votes
1answer
168 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" ...
0
votes
1answer
114 views

“X does not support your locale” error when running keepass2 [closed]

I am trying to run a password manager (Keepass2) that was working alright yesterday, until I started trying to tweak it to use the system-wide shortcut keys for auto-typing. I am working on Debian 10. ...
0
votes
0answers
46 views

Cannot open Gnome Terminal after “LANG=en_US.UTF-8 bash”

Please help a begginer. I tried to change my terminal output language with this command I found online "LANG=en_US.UTF-8 bash" (from Finnish to English). However after that I cannot open the Gnome ...
3
votes
1answer
462 views

Font has been changed

why has the font of my terminal been changed?
1
vote
3answers
227 views

Where are user locale settings stored?

I have updated locale settings from UI in Settings -> Region and language -> Formats in Ububntu 18. I can't find where these settings are stored in the OS. So far I checked /etc/default/locale ~/....
1
vote
0answers
333 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 ...
0
votes
0answers
33 views

locales — weird behaviour --

Thunderbird calendar shows time in US (non-24h) format. After searching the WWW found out that it uses the locales settings. checked locales settings and they all are on nl_BE and should thus give a ...
0
votes
0answers
43 views

german umlaute are not displayed in terminal

I have a file 'test.txt' with the following content: ä, ö, ü. When I type cat test.txt �, �, � What is wrong? The system is running Ubuntu 18.04.3 LTS. I checked locales installed german support, ...
1
vote
1answer
206 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 ...
0
votes
1answer
102 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?
0
votes
0answers
152 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 ...
0
votes
0answers
45 views

sudo locale-gen --purge restored the data on hard disk

I was not able to open terminal(using right-click) in linux machine using nautilus command via mobaxterm. I was getting the error: Error constructing proxy for org.gnome.Terminal:/org/gnome/...
0
votes
1answer
61 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? ...
2
votes
1answer
605 views

How to remove system locales

How to remove system locales, as oppose to package locales as asked in How to remove unnecessary locales? I'm getting the following errors recently: locale: Cannot set LC_ALL to default locale: No ...
1
vote
0answers
34 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: ...
0
votes
1answer
24 views

Disable locale in datetime display in terminal and logs

I use Persian loclae. In addition to displaying wrong words for the time, I prefer to display the original English words. Also in system logs. How should I do this?
2
votes
0answers
107 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). ...
0
votes
1answer
71 views

Why does `file -i` determines file encoding as ASCII, however it is UTF-8 actually in git repository

There are two cases, which i confused about: If newly created file contains only latin symbols, then file -i will show us-ascii. If newly created file contains only latin and cyrillic symbols, then ...
0
votes
0answers
70 views

What variables control what format the time and date are in in Firefox and what else does that affect?

My main question is: What (env) variables control what format the time and date are in in Firefox and what else does that affect (UI, spell-check)? I tried changing locale settings, packages, ...
2
votes
0answers
40 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 ...
0
votes
1answer
237 views

Perl warning locale while I call psql

I try to run postgresql on my Ubuntu server myname@myserver:/home$ sudo -i -u postgres postgres@myserver:~$ psql perl: warning: Setting locale failed. perl: warning: Please check that your locale ...
0
votes
1answer
155 views

Unable to display a file encoded in ISO-8859-9 to the terminal

In short: How can I display a file to the terminal that is not encoded in UTF-8? Currently, I have a test file encoded in ISO-8859-9 and containing the following 12 characters: ğüşıöçĞÜŞİÖÇ The hex ...
0
votes
1answer
458 views

How to make locale “de_DE.CP1252” available for “dpkg-reconfigure locales”?

Im using UB 16.04 LTS Server and today a new version of the locales-package has been released and installed: Start-Date: 2019-02-21 09:44:05 Commandline: /usr/bin/apt-get -y -o Dpkg::Options::=--...
1
vote
2answers
2k views

/etc/locale.gen: No such file or directory, how can I add a new locale the right way [duplicate]

The file /etc/locale.gen does not exist on my Ubuntu 14.04 LTS, how can I add a new locale the right way ?
2
votes
1answer
122 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 ...
0
votes
1answer
322 views

Permission denied in my O.S /etc/default/locale not configured

I want help for my Ubuntu issue. / etc/default/locale: /etc/default/locale:Permission denied. Why? As root I enter sh -x /usr/sbin/update-info-dir and get this: +INFODIR=/usr/share/info +set -e/ +...
1
vote
0answers
102 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 ...
3
votes
2answers
512 views

Sorting files and folders with underscore at the beginning

I use an underscore at the beginning of file and folder names to mark them as something "special". But this sorting doesn't work for the most programs under Linux. I tried LC_COLLATE=C ls and other ...
1
vote
0answers
37 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:...
1
vote
1answer
181 views

Change first day of the week does not work

I tried to follow the instructions on this post, but it did not work for me, what I'm doing wrong? Here's my local file in /etc/default/locale # File generated by update-locale LANG="en_US.UTF-8" ...
0
votes
1answer
5k views

Py_Initialize: Unable to get the locale encoding

Been having a problem for some time now, and scouring the internet for solutions they always refer back to what the user was doing when the problem occurred. For me, the same problem occurred during ...
1
vote
3answers
1k views

How to set LANGUAGE in locale permanently

After running into this bug: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/236 I can't get my locale fixed. It is impossible to fix it with gnome-control-center, and "export LANGUAGE=gd:...
10
votes
3answers
8k views

What is the correct way to fix an assertion in loadlocale.c?

I have recently updated Ubuntu to 18.04. After this, issuing the command ld constantly failed with the following assertion: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (...
0
votes
0answers
159 views

Why temp txt files are created in ANSI?

I have a big log file and i need to cut a part of it and paste it in the end of the same file... so i created a script that looks for the chunks of code i need (sed) create a temp file ,paste it , ...
1
vote
1answer
1k views

Character encoding/UTF-8 problem with mosh

Always, when I install mosh on a raspberry pi and try to connect through my computer, I get the following error: lz@blade:~$ mosh -ssh="ssh -p 2323" pi@192.168.0.3 pi@192.168.0.3's password: The ...
0
votes
1answer
29 views

How to add new locale?

How to add completely new locale which doesn't exist yet. I can create a locale file. But it's possible to upload it (git) for have it in future releases out of the box??
0
votes
1answer
251 views

How to install locale only if that is not exist yet

I want to set a locale, but it failed. $ sudo update-locale LANG=ja_JP.UTF-8 *** update-locale: Error: invalid locale settings: LANG=ja_JP.UTF-8 To use the locale I installed the locale by locale-...

1
2 3 4 5
8