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
0 votes
0 answers
40 views

Locale Setting Issues on Arch Linux

I am running Arch Linux. My locale appears to be incorrectly set, but I don't know how to fix it. When I run locale, my system outputs the following: locale: Cannot set LC_MESSAGES to default locale: ...
user avatar
  • 1
1 vote
0 answers
24 views

If a ligature/digraph has separate collation order, should it be considered different from constituent letters?

There are many digraphs and ligatures in common use like ß, w, ffi, st, æ, dž, ch etc. Some of these are completely different from its constituents. For eg, search for u in a string containing w should ...
user avatar
0 votes
0 answers
156 views

Setting the language and locale in Gnome on Debian-Bullseye has no effect

I have a machine with Gnome on Bullseye. I set both Language and the Formats to German and Germany respectively in the Region and Language section of Settings GUI. After I restart the session, ...
user avatar
0 votes
0 answers
20 views

Weird characters in linux Konsole

I´m running linux Konsole on top of Cinnamon graphical environment under zsh shell. Here is the shot The .zshrc contains the following call: autoload -U promptinit && promptinit prompt fade ...
user avatar
  • 101
0 votes
0 answers
21 views

Rescuing corrupted unicode wrong language file names

I have a 3d model of a character that a the distributor had downloaded from a Japanese website sometime during 2013. The filename seems to have been messed up due to an English system locale. "...
user avatar
  • 1
0 votes
0 answers
32 views

Why do font settings in browser behave different if UI language is changed

I was trying to change the Japanese default fonts in Brave, a Chromium based browser that allows me to set the "standard font", "serif font" and "sans serif font". But ...
user avatar
  • 113
0 votes
4 answers
94 views

office365 Excel and TEXT() formatting

Excel allows to combine formatting with TEXT(), e.g.: =TEXT(B2, "ddd") =A2&" " &TEXT(B2,"mm/dd/yyyy") But if I try to do this on office365 it just display that ...
user avatar
  • 488
0 votes
1 answer
29 views

LibreOffice Calc - do not apostrophe-escape dates when opening a file

I have switched system, and the old system had locale en_DK with reasonable ISO formats, the new one currently has en_US with "imperial" stuff, bad date formats etc. While I try to figure ...
user avatar
  • 111
0 votes
1 answer
25 views

Does Microsoft publish a list of localized month/ day names

I would like to have a table / database of localized month/ day names (I am using Windows). I can create this list using a software and the Windows API, but before I venture there, I wonder if there ...
user avatar
  • 117
0 votes
0 answers
63 views

Archlinux cockpit using 12 hour clock rather than 24 hour

I have cockpit-project running on my Arch box and it keeps showing me 12 hour time (e.g. 7:00 pm) rather than 24 hour time (e.g. 19:00). How can I change this? My locales are: LANG=en_GB.UTF-8 ...
user avatar
0 votes
0 answers
118 views

How to set decimal separator in Libre Office Calc, without changing the locale?

I would like to use the German locale, but with a dot as a decimal separator. I was only able to change the seperator, by changing the locale: There exist similar questions: how to set the decimal ...
user avatar
1 vote
1 answer
39 views

A command to sort stdin in ASCII order

Sometimes, GNU sort does not behave as expected. Here's an example: > bind | sort (This assumes you're using fish. In bash, the equivalent is bind -p.) All of the non-alpha characters in the ...
user avatar
1 vote
1 answer
38 views

Which locale related settings changes double quotes into "«" as I type

Good morning, I'm working on a Windows 10 computer with Belgian locale (French language), and constantly my double quotes seem to be replaced by "«" (opening) and corresponding closing ...
user avatar
  • 1,438
1 vote
0 answers
171 views

Installing postgres on windows with locale

Disclaimer: as this should be a standard operation, i feel something on my side must have gone terribly wrong. I am trying to use postgresql on windows 71. The installer from edb works fine, apart ...
user avatar
  • 111
0 votes
0 answers
522 views

RHEL8: locale vs localectl vs update-locale

This is on the updated RHEL8 server. I got the computer configured with non-english locale. The configuration seems to be consistent, e.g. 'dnf install' does not complain about anything. [root@rhel8 ~]...
user avatar
  • 113
13 votes
1 answer
1k views

Clock separator renders incorrectly under GNOME 3.38 on Arch Linux with Ubuntu font

I recently switched to Arch Linux from Ubuntu, and so to ease the switch, I've installed the GTK themes used by Ubuntu and switched to the Ubuntu font family across the system. However, there is a ...
user avatar
  • 1,321
0 votes
1 answer
72 views

Manjaro login screen not displaying locale selector

Manjaro has a bar at the bottom of the login screen (came with XFCE install) that displays a lot of accessibility options, such as high contrast and large text. Until recently, it also displayed a ...
user avatar
  • 66
0 votes
1 answer
159 views

Complete reset windows 10 system-wide user keyboards [duplicate]

My Windows 10 system keyboards are messed up since I received this new laptop. I mean there are 5 keyboards and only 2 are necessary. Is there any way to completely reset keyboards into two only , ...
user avatar
  • 1
1 vote
1 answer
97 views

Force the chosen Locale for a field with numeric data or formulae in Word

I've a simple function: {=B2*C2 \# "-#.##0,00"} in a table in Word. However, this gives the result as 2.345,67, because I live in The Netherlands. Now I need to share this document with ...
user avatar
  • 1,381
2 votes
2 answers
50 views

Working in multiple languages/locales

Is there any way to set the locale I want to use for a file in Excel? This is my situation: I normally work in multiple languages, which means different numbers, currency, dates representations, etc. ...
user avatar
0 votes
1 answer
748 views

Language Change is not able to apply to Arch Linux

I would like to change system language to Japanese. However, the change is not apply. I have installed Arch Linux on ThinkPad X13 AMD (Ryzen7 4750U). I have set up Gnome then I tried change system ...
user avatar
2 votes
1 answer
487 views

Windows 10 Emoji Panel text input only searches one language

My current language is English (Israel), and the keyboard is set to English US International. When I launch the Emoji Panel and type text (in English) it doesn't filter the emojis. It'll only do so if ...
user avatar
1 vote
1 answer
150 views

What locale does excel uses when you type ,F as date format?

My company builds reporting tools and one of the export formats is excel. As our customers come from different countries when we generate the excel file we use locale formatting to display the dates ...
user avatar
  • 113
1 vote
1 answer
2k views

Remove languages from language bar not listed in settings (Windows 10)

In my Windows 10 installation, the little language switcher in the task bar is cluttered with keyboard layouts / locale settings I never use: So I go to language settings to try and remove them -- ...
user avatar
  • 111
2 votes
1 answer
1k 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) ...
user avatar
0 votes
1 answer
138 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)...
user avatar
  • 113
0 votes
1 answer
110 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 ...
user avatar
4 votes
1 answer
3k 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 ...
user avatar
  • 7,412
0 votes
1 answer
63 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 ...
user avatar
  • 41
2 votes
0 answers
36 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 ...
user avatar
  • 214
1 vote
1 answer
2k 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. ...
user avatar
3 votes
3 answers
1k 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 ...
user avatar
  • 31
3 votes
0 answers
152 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 ...
user avatar
  • 31
2 votes
1 answer
2k 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, ...
user avatar
1 vote
0 answers
147 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 ...
user avatar
  • 111
2 votes
1 answer
2k 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 ...
user avatar
  • 129
0 votes
1 answer
267 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 ...
user avatar
0 votes
1 answer
759 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: ...
user avatar
  • 167
0 votes
1 answer
397 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 ...
user avatar
  • 192
0 votes
1 answer
66 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), ...
user avatar
  • 1
4 votes
1 answer
4k 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"...
user avatar
0 votes
2 answers
396 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 ...
user avatar
0 votes
1 answer
379 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 ...
user avatar
  • 1,278
1 vote
0 answers
4k 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 ...
user avatar
  • 167
0 votes
0 answers
455 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" ...
user avatar
  • 2,406
2 votes
0 answers
276 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 ...
user avatar
2 votes
2 answers
2k 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 ...
user avatar
  • 121
2 votes
2 answers
4k 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 ...
user avatar
  • 227
4 votes
3 answers
3k 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 ...
user avatar
  • 175
0 votes
0 answers
3k 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 ...
user avatar
  • 2,023