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
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 ...
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-...
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?
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, ...
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: ...
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 ...
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" ...
9
votes
2answers
26k views

Correctly changing default locale in ubuntu server 10.04 LTS?

I got a new server but unfortunately the hoster only installs me Ubuntu 8.04 in german. So the upgrade worked smoothly, but now I am trying to change the system to english. I adapted /etc/...
9
votes
2answers
19k views

Need to change system locale on Windows 2012 R2 from en-US to en-GB

When I start an Aws Ec2 Windows 2012 R2 instance it always comes with a default en-US locale. However I need to change two of the existing instances to be en-GB as if they were installed like that in ...
7
votes
2answers
9k views

How to fix locales on Debian Wheezy after broken update from jessie repository

I tried to install nodejs and npm packages on my VDS with Debian Wheezy. But not to compile source and by the laziness, I found instruction in the Internet to include jessie sources and install from ...
7
votes
2answers
14k views

Linux locale: en_US.UTF-8 vs en_US

I usually config my ubuntu via sudo locale-gen --purge en_US.UTF-8 And I've the installed locales # locale -a C C.UTF-8 en_US.utf8 POSIX Is it okay since I am missing en_US?
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 = (...
5
votes
1answer
9k views

How do I resolve this locale issue?

I am working on setting up a Docker build that will allow me to connect to SQL Server from Linux. As far as I know that has almost nothing to do with this question, but it might, because I'm pretty ...
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 ...
5
votes
1answer
2k views

Set default locale on linux server

How can I change linux default locale, so that all users and applications will have the same locale settings? Br, Wolfy
5
votes
2answers
7k views

How to change System Locale in Windows 2003 using command line

Is there any command line utility to change the system locale in Windows 2003?
5
votes
1answer
2k views

Select locales on ubuntu 10.04 after installation

When I activate a new rackspace ubuntu 10.04 instance I keep getting these messages: perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "...
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 ...
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 ...
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: ...
4
votes
7answers
3k views

Simple issue regarding date formats

We are hosting a website that when browsed to locally loads up fine but if you browse to it externally you get Conversion from string "1/15/2010 8:46:01 AM" to type 'Date' is not valid. What do I ...
4
votes
1answer
2k views

Setting locale failed: force certain locale when connecting through ssh

For years I have had a problem with the "Setting locales failed". I now understood the problem. On my local machine, my LC_TIME is set to a custom file ("custom.UTF-8"). This custom file does not ...
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?
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 ...
3
votes
3answers
6k views

locale not getting set correctly over ssh connection

I have a debian server with several locales installed, de_DE, en_GB and en_US. I want to be able to login over ssh and get the locale set accordingly (to en_US in my case, different for someone else) ...
3
votes
1answer
4k views

How to set locale in Debian 6.0.3?

How to set locale in Debian 6.0.3? $ locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE=C LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="...
3
votes
1answer
3k views

Nginx: Redirect URL to always include a locale prefix

I'm trying to achieve something with nginx and redirect rules which seems like it should be pretty straightforward, but I've run into a stumbling block. Having had a look through many questions and ...
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: ...
3
votes
2answers
1k views

Locale setting on a Red Hat box

Recently our organization got a couple of server boxes which are I guess present in some data-center in UK. The problem is that for some reason the default Locale representation in Java on that server ...
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 ...
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
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 ...
3
votes
2answers
814 views

Japanese Windows Server 2008 R2?

I'm trying to provide a Japanese installation of Windows Server 2008 R2 to a user for localization testing. I've done this before with Windows XP which seemed to have a Japanese specific disc. I can't ...
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 ...
3
votes
0answers
715 views

How to avoid Tivoli Storage Manager error ANS4042E: “Object name … contains unrecognised characters and is not valid.”

We are using the Tivoli TSM Backup/Archive client to back up user files on a largish multi-user system. Users come from different countries and thus can create files according to multiple locales. ...
2
votes
4answers
28k views

How to change my commandline locale after CentOS decided to change it?

So apparently, CentOS decided I was Dutch, and thus, should not have a English locale. Apart from the fact that this greatly bothers me, I am having a pretty hard time actually changing it back. ...
2
votes
3answers
9k views

IIS Time Zone and daylight saving changes

How can I determine Time Zone setting for IIS. It seems that ever since the daylight savings were applied (+1 hour) the time returned by IIS is 1 hour behind as the +1 was ignored. The time on the ...
2
votes
2answers
9k views

RSYNC from remote to local excluding folders

How can I download from a remote server to local excluding folders or files? I have used something like this but the exclude doesn't work... rsync -avr -P -e ssh --exclude=/path/to/exclude/* user@...
2
votes
1answer
1k views

SSH locale wrong

I have a debian server with locales set to hu_HU.UTF-8, and if i log in trough console it works perfectly in hungarian. It also worked with ssh logins until i disabled PAM in the sshd config. Since ...
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 ...
2
votes
1answer
654 views

Change filename format for Nagios archived logs to use different date format?

I have just set up a Nagios server, and by default it keeps archives of the log messages in /var/log/nagios3/archives. However the files are named with US style date format, like nagios-04-14-2015-00....
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 ...
2
votes
2answers
2k views

preseeding locales in debian

I am trying to use debconf to preseed the values for the locales package in Debian squeeze, so that I can reconfigure it non-interactively to, e.g., generate all locales. I extract the right selection ...
2
votes
1answer
913 views

Server locale C vs en_US.UTF-8

I am considering to change all of my server locale to C by "export LC_ALL=C" Is it a common practice? I am thinking will there be any side effect on a LAMP server, or should I just leave as using ...
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 "...
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/...
2
votes
2answers
589 views

Regenerating /usr/share/locale/

Is there a way to regenerate deleted locale on /usr/share/locale without downloading the application again?
2
votes
1answer
105 views

Is it possible to have localised Windows user names?

Is it possible to have localised Windows user names?
2
votes
1answer
153 views

Custom calendar system support in Exchange OWA

Since Exchange doesn't provide support for all calendar types in OWA, I need to create one, using Microsoft.Net's support of calendars, but where should I start?
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 ...