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
0answers
23 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 ~]...
13
votes
1answer
824 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 ...
0
votes
1answer
55 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 ...
0
votes
0answers
59 views

How to correctly use localedef to create new locales

I am setting up an embedded linux system with petalinux and want to create new locales, specifically the en_US.UTF-8 locale. My systems currently has locale and locale-def and glibc 2.3 . Running ...
0
votes
0answers
15 views

en@shaw Locale not supported by C library

I tried launching GNOME apps with en@shaw locale, an alternative alphabet for English 𐑩𐑯 𐑷𐑤𐑑𐑻𐑯𐑩𐑑𐑦𐑝 𐑨𐑤𐑓𐑩𐑚𐑧𐑑 𐑓 𐑦𐑙𐑜𐑤𐑦𐑖 https://www.shavian.info/ There are localization files on ...
0
votes
1answer
46 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 , ...
1
vote
1answer
37 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 ...
0
votes
0answers
13 views

Acquire source with real local timestamp

I need to acquire video from Pi Camera with ffmpeg. My goal is to print on video the exact locale timestamp. For Example, if I start video at 8:00 am o'clock, I need to show 2020-10-05T08:00:00 ... ...
0
votes
0answers
28 views

Who controls locale parameter decisions?

Canadian English locale is metric. I don't mind, but it enforces default A4 paper size, which impacts any wordprocessing apps that silently start out with this wrong paper size. It is not easy to spot ...
2
votes
2answers
41 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. ...
0
votes
1answer
390 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 ...
0
votes
0answers
24 views

Assign different keyboard layout to each keyboard

I am using different keyboards on my Debian machine in parallel (e.g. a German layout and an US layout). Is it possible to assign a keyboard layout to each of these hardware keyboards without ...
1
vote
1answer
174 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 ...
1
vote
1answer
29 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 ...
0
votes
0answers
523 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 -- ...
0
votes
0answers
23 views

Can I make one application use a different display language?

In MS Windows 10, is it possible to specify the display language to use for one specific application? Let's say the global display language setting is English but I want to see Swedish button labels ...
2
votes
1answer
321 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
55 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
1answer
61 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 ...
2
votes
1answer
1k 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
49 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
30 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 ...
1
vote
1answer
576 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
2answers
328 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 ...
3
votes
0answers
136 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
1k 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, ...
1
vote
0answers
120 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
966 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
192 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
672 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
278 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
57 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), ...
4
votes
1answer
3k 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
182 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
244 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 ...
1
vote
0answers
3k 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
287 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
228 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
1k 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 ...
2
votes
2answers
3k 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
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 ...
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 ...
38
votes
3answers
37k 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
74 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
793 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
6k 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
452 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
515 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 ...