Questions tagged [localization]

In IT, localization refers to the settings/configurations that are altered to make a product (usually software) appropriate for different locales. Language, timezones and the formatting of things like currency or dates are common examples of such settings.

Filter by
Sorted by
Tagged with
17
votes
11answers
52k views

CentOS 6 and locale error

I just installed CentOS 6 and whenever I login to the system via SSH remotely, I get the following error: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) When I type "locale" on ...
68
votes
7answers
194k views

How to install/change locale on Debian?

I've written a web application for which the user interface is in Dutch. I use the system's date and time routines to format date strings in the application. However, the date strings that the system ...
5
votes
2answers
2k views

Is there a difference between en_US.utf8 and en_US.UTF-8?

Server info (DNS and IPs removed): cat /proc/version && uname -a && java -version Linux version 2.6.16.33-xenU (*************) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #2 SMP ...
35
votes
5answers
31k views

How do you set a locale non-interactively on Debian/Ubuntu?

Usually, I run aptitude -y install locales then dpkg-reconfigure locales to set up locale. Now I want to put it into a shell script, how can I reliably do the following, automatically / non-...
3
votes
1answer
2k views

How do I set locale when building an Ubuntu Docker image with Packer?

I'm using Packer to build a Docker image based on Ubuntu 14.04, i.e., in my Packer template I have: "builders": [{ "type": "docker", "image": "ubuntu", "commit": true }], and I build it ...
0
votes
0answers
21 views

non interactive shell locale

I'm running commands on a remote host via ssh where i'd like to have locale vars set. I do not care about the full profile scripts from a true interactive shell, just the locale vars. The minimum ...
3
votes
2answers
2k views

POSIX locale when I use SSH with a command line

When I SSH into an Arch Linux server and include a command line, I end up with a POSIX locale: laptop.lan$ ssh server.lan locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="...
3
votes
3answers
7k views

Centos 5.8 locale warning

A friend is running CentOS 5.8 on his server. It's a mostly harmless error but I'm tired of seeing it. I'm more familiar with debian, so I'm not sure how to generate or reconfigure locales. The ...
0
votes
0answers
222 views

Changed locale in CentOS 7 using localectl doesn't work

I want to change the localisation to en_US.utf8 so that all log messages from applications were displayed in english. This works when I prefix the command with LANG=en_US.utf ./my-command, now every ...
3
votes
4answers
828 views

Windows Server 2016 shows only partially in English

I've configued English as the default language on the server, however, I still get modules in the Server Manager in Dutch (this is how my VPS was initially setup by my hosting provider) and also I ...
18
votes
11answers
52k views

How to fix locale settings in Debian squeeze

I occasionally get locale errors and I've tried to run dpkg-reconfigure locales to fix the problem. Here's the output: :~$ sudo dpkg-reconfigure locales perl: warning: Setting locale failed. perl: ...
0
votes
0answers
14 views

Setup Foreign Locale OS

New to building VMs in Azure. I need to build an Italian Locale VM but when I created the VM, I did not find the option of selecting a language. The VM that got built was an en_US locale. Thank you
3
votes
1answer
341 views

CentOS: set locale for user

Maybe i don't understand about locales... But could You explain me: If I set locale using localectl: localectl set-locale LANG=en_US.UTF-8 I see in localectl output after this: System Locale: ...
0
votes
0answers
36 views

What exactly installing a locale does to the system?

I have an Ubuntu 18.04 server, and with default config, when calling $ls command on a file with Latvian character in it's name (test_ā.txt) the output contains is "test_??.txt" in place of the unicode ...
11
votes
5answers
80k views

How do I change my locale to UTF-8 in CentOS?

Here's the output of locale: LANG=zh_CN.GBK LC_CTYPE="zh_CN.GBK" LC_NUMERIC="zh_CN.GBK" LC_TIME="zh_CN.GBK" LC_COLLATE="zh_CN.GBK" LC_MONETARY="zh_CN.GBK" LC_MESSAGES="zh_CN.GBK" LC_PAPER="zh_CN.GBK" ...
0
votes
1answer
18 views

How to change definition of windows locale?

Date format of cz-CS locale has been changed in Windows Server 2016 from d. M. yyyy to dd.MM.yyyy. Users of web applications however wanted to use d. M. yyyy from previous Windows version, since this ...
4
votes
1answer
2k views

``date`` in terminal now in 12hr format on Debian Buster

Since updating to Debian Buster, running date on the terminal shows the clock in AM/PM format instead of 24hr clock. This is new and is happening on all updated installations. Docker container: ...
1
vote
1answer
60 views

Google Cloud SQL. Sorting in THAI in mysql

We have an application where we use Google Cloud SQL (mysql) as database server. The databases are in the collation: utf8mb4_unicode_520_ci A user of the application from Thailand reported that ...
1
vote
2answers
874 views

Strange set locale behaviour when ssh from Windows PuTTY to Linux

Please, can someone shed some light on this strange locales related warning annoying me since I installed my server half year ago. It's a variant of "Cannot set LC_CTYPE to default locale", which ...
22
votes
3answers
31k views

Locale-unaware %DATE% and %TIME% in batch files?

The %DATE% and %TIME% environment variables provide the current date and time on Windows machines on the command line and inside a batch file. Sadly, those values are locale-aware! Meaning that, say, ...
0
votes
1answer
2k views

CentOS 7 warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)

I have this error when log in into a remote server throught ssh. The error also when I run a bash script. I tried to reinstall glib with yum reinstall glibc-common but the error is still here.
1
vote
1answer
188 views

How to make results of “localedef” survive “dpkg-reconfigure locales”?

Im using UB 16.04 LTS Server and yesterday 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::=--...
0
votes
1answer
405 views

Debian Packets fix - locale not working - cant install packets - Librarys broken

I did something horrible and hopefully didnt destroy my Debian 9 Strech... I googled like 2 Hours to fix this but nothing has helped... What I Did: my ClamAV was outdated, and I added a testing ...
3
votes
3answers
5k views

Remove a locale in Ubuntu

I accidentally add a locale, e.g. sudo locale-gen zh_TW e.g. locale -a zh_TW But how to remove it?
4
votes
4answers
6k views

locale-gen with purge does not work

I use the --purge option to remove existing locales before generating new one, but seems cannot remove existing locales? e.g. # locale-gen --purge en_US # locale -a C en_AG en_AU.utf8 en_BW.utf8 ...
2
votes
2answers
4k views

How do I fix my locale settings on Ubuntu 12.04 LTS on my linode?

My Dropbox installation on my linode is failing with the error: ValueError: unknown locale: UTF-8 When I run : locale I get the output: locale: Cannot set LC_CTYPE to default locale: No such file ...
0
votes
0answers
26 views

Different format of date is valid in query string on different VMs with the same regional settings

I deployed .NET application hosted on IIS on two different VMs with Windows Server 2016 on them, the code is exactly the same. However on one machine the date in query string 30/01/2018 is parsed ...
2
votes
1answer
1k views

Application localization problems in english windows server 2012

Here's what does it look like (encoding problems): OS is Windows Server 2012, English, clean installation. Previously I've tested this software with same server, but with russian OS version, it was ...
25
votes
5answers
51k views

How to get system locale in Windows 7 cmd?

How can I get system locale in Windows 7? I mean something like: cs_CZ.UTF-8 I tried writing "locale" in the command line but that doesn't work in Windows. Any suggestions?
0
votes
1answer
107 views

Windows language for non-unicode programs change leads to error finding font

I have a legacy C++ program I have to maintain. We runs on Windows 7. Recently I encountered a bug in a pdf generation section of the code. I change Windows' Language for non-unicode programs to ...
0
votes
3answers
252 views

modify iostat -t time output format

I was trying to plot the results of various iostat results. For that I want to use https://clusterbuffer.wordpress.com/file-system-tools/iostat_plot/iostat-plotter-v3/. Anyhow - for some ...
1
vote
0answers
132 views

National characters in Open Tomato router and QNAP NAS shell

I added my Country locale (pl_PL) to shell in Open Tomato based router Asus and QNAP NAS. Originally only en_US and en_EN locale where available. Now it is possible to use it for example in vim-full ...
2
votes
3answers
2k views

IIS 7.5 using Classic ASP converts a boolean value to a string in the local language

I have a Classic ASP application running on a workstation with a Danish version of Windows 7 with IIS 7.5. The problem: When the application writes a boolean as a string, it will write "True" or "...
0
votes
1answer
854 views

Korean Characters in Outlook lose their encoding

A user in our Korean Office has issue with the encoding of the characters in their emails. When sending or receiving, everything is displayed fine the first time. When re-opening an email later, the ...
4
votes
3answers
62k views

How to change default region/culture settings in Windows 2012

I have researched this topic through the web but can't find a definitive answer. Our server team has recently upgraded our SQL Servers VMs from Win 2003 to Win 2012. Given our region we run all our ...
2
votes
0answers
26 views

Backport locale to earlier Windows version

I have written an application which contains language files localized in ru-MD (Russian as used in Moldova) and ru-RU (Russian as used in Russia). According to this table, the locale ru-MD is ...
1
vote
1answer
686 views

Centos Postgres Failed to start

I have CentOs 6.7 installed on my server: bash-4.1# uname -r 2.6.32-573.18.1.el6.x86_64 After server restart, my PostgreSQL 9.6 server is not starting due to locale issue. Here is the log error ...
6
votes
5answers
6k views

Fix stubborn 'Setting locale failed.'

I have a very stubborn, well-known locale error on Ubuntu 9.10: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (...
0
votes
1answer
858 views

how to fix locale issues in centos 6

I have a centos 6 server and I am running into some locale issues. When I type the command locale, it gives locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot ...
0
votes
1answer
490 views

Setting locale permanently fails on VPS machine Ubuntu server 16.04

I tried everything that I could find, including dpkg-reconfigure locale, reinstalling packages completely, adding LC_ALL and other settings to etc/environment, tried adding to /etc/locale.conf , to ....
0
votes
1answer
524 views

CentOS 7 locale settings changed after Yum update, how can I fix them?

I've been having a number of problems with locale settings and the JVM recently. But this is bigger than that now. I did a Yum update today, full update of everything. It hadn't been done in some ...
1
vote
1answer
3k views

Missing locales on CentOS 7

We are running a Werewolf cluster and the node images are missing the locales. Only C and POSIX are available. The system uses CentOS 7 as base. It isn't really an issue but it's a very annoying to ...
0
votes
1answer
442 views

Windows 7 boot manager not localized on UEFI systems

I originally posted this on SuperUser because I discovered this behaviour on my home computer, but this seems to be a general issue on UEFI systems, thus I'm posting here too; I also hope someone here ...
0
votes
1answer
125 views

Mongodb sharded cluster architecture

I have a mongodb cluster on aws. In order to reduce network latency I want to have multiple shards in different regions. In each region there will be the application nodes that connect to the ...
2
votes
3answers
931 views

Windows 7 Shortdate Format Ignored

I am moving a copy of an ASP.net web application running on a windows server 2003 box to a Windows 7 Laptop. On the win server 2003 box the locale was set to United States and shortdate format was M/...
0
votes
2answers
855 views

Linux CentOs 2.6.18 Setting locale for cronjobs

I have the problem, that I am trying to automate some Informix database job via the crontab. The job runs fine when done via the command line or processed via the at queue, but not via the crontab. ...
3
votes
1answer
2k views

Localizing an ownCloud theme

Is it possible to localize a file that is overridden by a custom theme in ownCloud? According to this issue in the bugtracker you can override theme files by just placing them in your own theme ...
2
votes
1answer
668 views

Force Locale in Windows Services

I have some windows services running on an Windows 2008R2 server. My system locale on that server is English (US). Is there any way you can force a windows services to use a specific locale (without ...
0
votes
1answer
35 views

Find if asian typo are installed

I need to find out if asian typo are installed on my Linux VPS. Is there a way i can find it out? I guess to install it i can run yum groupinstall "Chinese Support" but how to find out if they are ...
0
votes
2answers
95 views

Server migration from America to Europe

I have this kind of a situation where I have a server located in North of America, however, a majority of my clients are from Europe. So, I found a few companies which provide servers which are ...