Questions tagged [locale]

A locale is a set of parameters that defines the user's language, country and any special variant preferences, such as date format and currency, that the user wants to see in their user interface. Usually a locale identifier consists of at least a language identifier and a region identifier.

Filter by
Sorted by
Tagged with
1
vote
1answer
19 views

What does locale-gen generate in Linux?

In my understanding, a locale is just a set of evironment variables that indicate the system language and region. But before we can use it, we need to edit locale.gen file to indicate what locale(s) ...
0
votes
1answer
16 views

command date not respecting timezone

I'm in git-bash on Windows 10 : ~$ locale LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL= ~$ date --version date (GNU coreutils)...
0
votes
0answers
17 views

Renaming unknown encoding filenames to UTF-8

I have a set of files extracted from a Bandcamp zip file. Their filenames have Spanish characters, such as "ñ" and "í". I am using Arch Linux, bash, and a urxvt terminal. I have already fixed my ...
0
votes
1answer
22 views

Outlook 2019 wrong date locale in replies

When I reply to an email message in Outlook 2019, the original mails date is written in US format, instead of the system locale (the original mail has it in correct format, see screenshot). I found ...
0
votes
0answers
72 views

Getting “Warning: Missing charsets in String to FontSet conversion”

I'm using X applications over an SSH connection to some machine. When I run an X app, say, xclock for simplicity, I get a console message saying: Warning: Missing charsets in String to FontSet ...
0
votes
1answer
37 views

No other language than English can be typed or displayed in terminal

I am not sure whether it has something to do with my locale settings, which are hopefully fine, or fonts. locale -a C en_US.utf8 POSIX ru_RU.utf8 uk_UA.utf8 When I switch between keyboard layouts I ...
2
votes
0answers
27 views

Firefox en_GB HTML5 date fields are in MM/DD/YYYY

On macOS Catalina, I've installed en_GB Firefox, my language preferences are 'Choose languages for menus messages etc' is "English (United Kingdom)", in "language for displayed pages" I've remove ...
0
votes
1answer
23 views

Nano displays spaces instead of some symbols

I have a feeling that I have this bug, however I've just installed new Nano 4.7 from sources When I open files, a lot of symbols (even non-unicode) as not displayed properly, but displayed as spaces. ...
1
vote
1answer
92 views

What exactly do the three “special locales” called “en_US_POSIX”, “en_001” and “en_150” mean?

There are quite a few English-language locales on my computer system (Windows 10). Most of them look like this, and make sense: en_CA en_DE en_GB en_IL en_PK en_US ... But there are three special ...
0
votes
0answers
46 views

Ubuntu doesn't display Thai language filenames correctly with 'ls' command

Ubuntu doesn't correctly display file names containing Thai characters when using ls command.
3
votes
0answers
92 views

Google dialogflow Locale and language

I am using dialogflow to create a Chatbot in ZH-ch. When I tried to integrate it via google assistant, I got the following error message: Request contains an invalid argument. Locale zh-CN was ...
2
votes
1answer
353 views

Cyrillic symbols in Linux file names

I have a Linux, made by Buildroot tool. And I faced with a problem with creating files with cyrillic names. When I try to create a file, for example with such command: touch файл.txt I get a file, ...
0
votes
0answers
94 views

Get french accent on Linux terminal connected via ssh from MacOS High Sierra

I am often connecting from a MacOS High Sierra terminal via SSH to a Debian 8.0. The locales on my MacOS are : LANG= LC_COLLATE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" ...
1
vote
0answers
86 views

Why no-nls utf8 locale is called C.UTF-8 in Debian and C.utf8 in Gentoo

I usually worked with Debian GNU/Linux, and UTF-8 locale with no translations was called C.UTF-8. I assumed, this is de-facto name for such locale. Recently, I was installing Gentoo GNU/Linux ...
0
votes
1answer
483 views

Install and configure the good locale for a postgresql error on ubuntu 18.04.2

Here is my error when i try to use postgresql 10 : DETAIL: The database was initialized with LC_COLLATE "en_US.UTF-8", which is not recognized by setlocale(). How to configure properly the ...
0
votes
1answer
126 views

Excel (XLSX) and locales

Does opening an .xlsx file in systems with different locales correctly render the content according to locale, regardless of what locale file was originally created in? e.g. User 1 creates excel file ...
0
votes
1answer
593 views

could not connect to database postgres: could not connect to server: No such file or directory

Freshly installed Debian Jessie. I've installed: aptitude install postgresql postgresql-contrib root@vps: createuser createuser: could not connect to database postgres: could not connect to server: ...
0
votes
1answer
194 views

How to install locale for Cygwin?

I've installed Cygwin on window10. The language installed on window in French Canadian. When I right-click on title bar of Cygwin window and choose Options..., I got this below. On Window7, cygwin ...
0
votes
1answer
56 views

Where are initial LOCALE settings stored?

does anybody know, where the initial setting for $LANGUAGE is stored or where to find respective information? Background: During the installation of debian sid I choose to have german, english (GB), ...
3
votes
1answer
1k views

On macos, LC_CTYPE set to wrong value - where to change for iTerm2?

On my system, the locale variable LC_CTYPE is set to an illegal value, which causes issues on Linux systems. It's set to: $ locale LANG= LC_COLLATE="C" LC_CTYPE="UTF-8" LC_MESSAGES="C" LC_MONETARY="C"...
0
votes
2answers
82 views

MS Excel - How to read DATE from text generated with different locale

I'm writing this question after reading How to use DATEVALUE with diffent locale setting without changing system settings didn't solve my problem. It's about reading the correct month from a text ...
0
votes
1answer
138 views

How to get Locale-independent modification date batch

I need to get the modification date of a file stored in a variable like this: YearMonthDayHourMinute. So 01/21/2019 9:12 AM would be 201901210912. What I will be doing is comparing files to see which ...
0
votes
0answers
2k views

How to change the value of navigator.language in Chrome?

My browser is in English and I have removed all other languages, but when I go to the console and look up navigator.language it shows a value of "bg-BG" and navigator.languages is ["bg-BG", "en"]. I ...
0
votes
0answers
179 views

Locale to support ISO standard for decimal and thousand separator?

The US locale does not respect the ISO standard (see also here): > number = 1234567.89 < 1234567.89 > LOCALE = 'en-US' < "en-US" > number.toLocaleString(LOCALE) < "1,234,567.89" ...
2
votes
0answers
196 views

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

I have a file which has some russian chars in. Below is the content of by sh file. #!/bin/sh sed -i "s/\bVAR1\b/Привет, как ты/g" file1.txt When i save this file i had to save this as UTF-8 or ...
2
votes
1answer
999 views

Changes to language for not unicode programs in Windows 10 not applied

I'm trying to change the Language for non unicode programs in Windows 10. I tried these steps: Region -> Administrative -> Language for non-unicode programs -> Change system locale -> Select ...
1
vote
2answers
2k views

LC_ALL=C is set, no idea why

I‘m using st, the simple-terminal or suckless-terminal, which is a terminal with Unicode-support. I have two machines, both run Arch Linux with basically the same system settings but i only get ...
4
votes
3answers
2k views

How can I programmatically access the region of a Windows computer?

How can I programmatically access the region of a Windows computer? Specifically, I'm looking for this value in the Region & Language settings panel in Windows 10. Or (alternately), the "Home ...
0
votes
0answers
2k views

Unable to install PostgreSQL on Win10 due to getlocales.exe

I am unable to install multiple versions of PostgreSQL (ranging from 9.4.x and higher) on Windows 10, downloaded from here, each one reporting the same error: Any idea on how to get over this? I was ...
7
votes
3answers
5k views

How to remove 'Unknown Locale (qaa-Latn)' from fresh Windows Server installation?

I just installed Windows Server 2016 in a development virtual machine and strangely there is an 'Unknown Locale (qaa-Latn)' listed in my language / input list (in the task bar) and it doesn't show up ...
7
votes
1answer
1k views

bash / zsh alias: Can I grab the arguments and use within subshell?

I would like an alias that gives a directory listing in dictionary order with "." files first. It seems that one few ways to accomplish this devoid of writing my own script (which isn't a real problem)...
1
vote
1answer
43 views

Locale wrongly configured [duplicate]

I have just launched an EC2 machine, in the frankfurt region. The locale is corrupted: ubuntu@myhost:~$ locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 ...
2
votes
1answer
705 views

Locale not showing up in 'locale -a' after adding it with 'locale-gen' and 'update-locale'

I'm currently working on a project that uses the python:latest docker image to run tests, as my project requires the use of the locales en_US.UTF-8 and nl_NL.UTF-8 I had to add them in my CI script. ...
2
votes
2answers
5k views

Set locale in debian stretch in Dockerfile for any user

RUN apt-get update && \ # Install locales apt-get install -y locales && \ # Set locale sed --in-place '/en_US.UTF-8/s/^# //' /etc/locale.gen && \ locale-gen ...
0
votes
1answer
375 views

Adding export utf8 to /etc/profile not working

Trying to set the locale in debian:stretch to utf8. I build a docker image which I then use. Apart of my Dockerfile: # Set locale RUN sed --in-place '/en_US.UTF-8/s/^# //' /etc/locale.gen && \...
4
votes
2answers
3k views

Debian Stretch 9: What changed to keyboard configuration (in X)?

Up to Debian 8, I could configure the keyboard this way: setxkbmap -model pc105 -layout us -variant alt-intl How do I achieve the same effect in Debian Stretch? What has changed? I do remember that,...
0
votes
0answers
296 views

Run Windows application with different locale setting [duplicate]

I have a badly written third-party Windows application that only works correctly if the decimal separator and thousands grouping characters are set to the values typical for English, i.e. point for ...
2
votes
1answer
1k views

Settings LOCALE on Raspberry Pi3

I'm using raspberry for years and Linux for many more... Trying to installing Docker in my rpi I get an error, it is probably related to the LOCALE installation. The problem is this: apt-listchanges: ...
0
votes
0answers
83 views

How to input special characters without locale support?

I have a linux device and it is not possible to use locale. But I have to support locale keyboard layouts. Thus on press of input.h #define KEY_LEFTBRACE 26 the character + (Plus) shall be ...
9
votes
2answers
7k views

How to set decimal separator in Libre Office Calc?

How do I set the decimal separator in Libre Office Calc? I want the decimal separator to be dot (.), not comma (,): I want to set this system-wide and as default (don't want to set this for each ...
0
votes
1answer
392 views

Fedora 26 locale settings keep changing after reboot

After upgrading Fedora from 24 to 26 I have a strange problem with locale settings. My installation is English and I use Polish keyboard layout and time format. Every time, after a reboot, all of the "...
0
votes
2answers
405 views

How to get rid of multiple language mixture on the command line?

I installed a clean Debian 9 Stretch system from a 'netinst' CD. The default locale is set to de_DE.UTF-8. Some userland tool, namely mkfs.ext4, is giving me messages in mixed languages: /dev/sdb7 ...
0
votes
0answers
632 views

How to set different system locale for different programs using batch/cmd file? Windows 7, 32-bit [duplicate]

My system locale is English (United States) but I want to run a program in Russian. I made a batch file containing the following: set lang=ru start C:\"Program Files"\"Download Master"\dmaster.exe` ...
1
vote
1answer
2k views

How do I display Cyrillic unicode characters in Notepad and Excel on Windows 7?

I have a Windows 7 PC with its locale set to United States. I have a unicode CSV (comma separated values) file that contains normal English text and Russian text. In MS Word the Russian displays ...
0
votes
1answer
806 views

Missing parts of utf-8 charset in urxvt with VcXsrv

I am running an Arch Linux server which I connect to from a few Windows machines using VcXsrv so I can run graphical applications (and more customized terminals than what I can get with PuTTY etc). ...
0
votes
1answer
2k views

Is it possible to set specific Windows locale to the specified user account?

I am trying to run Easter European locale (language for non-Unicode programs) non-Unicode program on computer with Russian locale. I have found this suggested 'solution' https://superuser.com/a/183942/...
0
votes
1answer
1k views

What font does the Japanese locale for Windows 7 use?

The command line font changes when you change locale from English to Japanese. What is the name of the font?
0
votes
1answer
181 views

Is normal this /usr/share/locale/zun/LC_MESSAGES/temp file size on my server 7.3G?

I have a server on CentOS Linux mydomain.com 2.6.32-504.16.2.el6.x86_64 #1 SMP Wed Apr 22 06:48:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux I see the folder /usr/ with more than 18G. When I do a ...
1
vote
1answer
59 views

“Nr” rendered as Nr. in LibreOffice (Calc) and/or “Linux”

I created a LibreOffice spreadsheet in Windows. One cell contains the String "Nr.". When I open this file in Linux, "No" with superscript underlined o is displayed. As I type this question, I guess ...
3
votes
1answer
9k views

Emails being received in Base64, not being automatically decoded

A lot of agents at my company are receiving emails that still include the Barracuda (spam firewall) header (even in "message" view, not "source" view) and are encoded in Base64. They are being sent ...