Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
28 views

ggplot2 doesn't render text in plots

I am trying to configure Jupyter Notebook to work with R and I stuck with one annoying problem with ggplot2. Text on the plot is not rendered at all. I am working in docker: https://pastebin.com/...
0
votes
0answers
19 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), ...
0
votes
1answer
19 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"...
-1
votes
1answer
25 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
36 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
56 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
15 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
43 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
184 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 ...
0
votes
2answers
313 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
322 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
392 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 ...
0
votes
0answers
29 views

Getting Non-Western (Cyrillic) script for SSERIFF.FON

I would like to use MS Sans Serif (FON, not Microsoft Sans Serif TTF) on Windows 10 installed from an English distributive. For this font, I may only select "Western" Script and thus cannot use MS ...
0
votes
0answers
176 views

Linux Mint locale

I'm pretty new in Linux desktop environment so probably the issue is already solved but I haven't found it yet. I run Linux Mint 19 with Gnome 3.28.1. I use English interface but want to have ...
-1
votes
2answers
450 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
734 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
25 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 ...
1
vote
1answer
315 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. ...
0
votes
0answers
87 views

shell script not using locale set

I have an image which is built: FROM debian:stretch # Set Bash as default shell RUN rm /bin/sh && \ ln --symbolic /bin/bash /bin/sh # apt-get RUN apt-get update && \ apt-...
2
votes
2answers
2k 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
173 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 && \...
3
votes
1answer
1k 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
44 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 ...
1
vote
0answers
643 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
62 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 ...
1
vote
2answers
1k views

How to set decimal separator in Libre Offic Calc?

How to set decimal separator in Libre Offic Calc? I wan't dot be decimal separator, not comma: I wan't to set this system-wide and default (don't want to set this for each cell).
0
votes
1answer
314 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
189 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
175 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
940 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
555 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
1k 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
688 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
111 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
49 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 ...
1
vote
1answer
4k 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 ...
1
vote
1answer
5k views

What is the 'international english' keyboard layout for localectl

I need to set a system to use "english international" keyboard layout. I see a dozen of us and uk layout using localectl list-keymaps | grep -i uk/us Do you know if one of them is considered ...
0
votes
0answers
73 views

Windows Subsytem on Linux, “sudo: can't resolve hostname” [duplicate]

I have just installed WSL and i am running into a number of issues. The first being that i can't change the locale to en_US with out using SUDO. When ever i use SUDO i get "sudo: can't resolve ...
0
votes
0answers
69 views

Forcing locale upon a specific .net application

In my .net application, I'm loading a CSV file and then parsing the fields using float.Parse(). Users from Germany who run Windows 7 (and 8) have their region set to Germany. This causes decimal ...
2
votes
0answers
408 views

How to force Excel to use English formats on non-English locale?

I'm using English Windows, English Office but my system locale is Czech. This unfortunately leaks into Excel: How do I get rid of this? I want my worksheet to be pure English (US) – all amounts in ...
0
votes
1answer
91 views

How programs determine which language to install in on Windows?

I have installed Geany IDE and Microsoft R Open on my Windows 7 64-bit computer which has Windows in English and some of the localization settings set to Turkish format and it has a Turkish IP. When I ...
1
vote
0answers
405 views

Change of system locale to japanese breaks windows NLS data

If I change the system locale to Japanese or Chinese (simplified) on my virtual machine with Windows 7, I'm prompted to reboot and the following screen appears: I have a previous system to revert to. ...
1
vote
1answer
152 views

Linux locale - how to disable smart quotes?

On my Gentoo system, find . -regextype help outputs find: Unknown regular expression type ‘help’; valid types are ‘findutils-default’, ‘awk’, ‘egrep’, ‘ed’, ‘emacs’, ‘gnu-awk’, ‘grep’, ‘posix-awk’, ‘...
2
votes
0answers
2k views

Set the system locale without rebooting

I would like to change the system locale (Control Panel -> Language for Non-Unicode programs), however, it requires a reboot. Is it possible without reboot ? I need it mainly for SQL Server ...
2
votes
0answers
654 views

Set Locales on Ubuntu

Greetings: I want to set locales in Ubuntu. It currently has en_US.UTF-8 and I want to change it to es_ES.ISO-8859-1. I added the locale by entering the command sudo locale-gen "es_ES.ISO-8859-1" ...
0
votes
1answer
91 views

Can I change my linux system EOL to use \r\n instead of \n by configuration files?

I want to change the default EOL of my linux system from \n to \r\n without recompiling it. Any configuration makes this possible (maybe locale)? Reason: I must make sure that for every user that ...
1
vote
2answers
2k views

Is it possible to set “locale” of a windows application to UTF-8?

We know here is an application called Applocale, which can change code page of non-unicode supported appliction , to solve text display problems. But there is a program that Right display Code Page ...
1
vote
1answer
2k views

Locale issue in Linux Mint

I have this problem with locale on my Linux Mint Debian (LMDE). How can I fix this? cj@linux ~ $ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set ...
2
votes
0answers
404 views

Add a new locale to OS X (/usr/share/locale)

I am trying to add a new locale support to my OS X system, which I could then use in Python scripts. It is Indonesian locale (id_ID) and I currently do not have it in my /usr/share/locales directory, ...
3
votes
4answers
7k views

Windows 10 calculator app does not respect region format decimal symbol

I recently installed Windows 10 (upgrade from 7). It is an English version Windows, which I configured to the German locale(*), which uses a comma (",") instead of a dot (".") as the decimal separator,...