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.

learn more… | top users | synonyms (2)

35
votes
5answers
86k 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 ...
14
votes
9answers
34k 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
9answers
31k 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: ...
11
votes
2answers
20k 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?
8
votes
2answers
11k 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, ...
8
votes
2answers
24k 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 ...
7
votes
2answers
1k 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 ...
5
votes
3answers
6k 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 / ...
5
votes
2answers
5k 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 ...
5
votes
1answer
1k 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
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
7answers
1k 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
2answers
6k 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?
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 ...
4
votes
2answers
4k 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?
4
votes
0answers
1k 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
5answers
5k 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 = ...
3
votes
3answers
5k 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
1answer
3k 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" ...
3
votes
3answers
3k 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
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
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
544 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 ...
2
votes
4answers
21k 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
4answers
34k 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" ...
2
votes
3answers
6k 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
1answer
50 views

Application localization problems in english windows server 2012

Here's what it is 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
164 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 ...
2
votes
2answers
838 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 ...
2
votes
2answers
1k 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
2answers
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
698 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 ...
2
votes
2answers
470 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
99 views

Is it possible to have localised Windows user names?

Is it possible to have localised Windows user names?
2
votes
1answer
143 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
1answer
935 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 ...
2
votes
0answers
371 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
2answers
23k 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 ...
1
vote
5answers
941 views

Setting Linux time zone

Should /etc/localtime (under RHEL 5.3, not that I think it matters) be: a symlink to /usr/share/zoneinfo/whatever a hard link to /usr/share/zoneinfo/whatever a copy of /usr/share/zoneinfo/whatever ...
1
vote
4answers
2k views

What do I need to do to get Windows 7 running in German?

Is it as simple as selecting a language while installing the OS? Download a language pack through Windows Updates? Do I need a specific download for Windows in German? I've never dealt with foreign ...
1
vote
3answers
2k views

How to redirect to a given page depending on the user locale?

Is there a way to redirect an user depending on is browser locale ? For instance, I'd like to redirect to a page called index.en.html all users who doesn't have their browser locale set to French. ...
1
vote
2answers
101 views

How to “unlocalize” bash script output

I have a problem with localized bash output. Say, I have to run some script on two different machines and then compare its output. It could of be done with grep easily, but one of the machines is ...
1
vote
3answers
592 views

Problem with locales after git installation

Hey there :) Some days ago i tried to install git on my Debian system. The instalation aborted and since this moment i get a locales error everytime i try do install/remove something via apt -.- ...
1
vote
2answers
3k views

Change the locale/language of apt-get/aptitude

I have a Debian system on which aptitude produces German messages although I set the default locale to en_US.utf8. Is there a way to change that? I would prefer English messages. Andre
1
vote
3answers
1k 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 ...
1
vote
2answers
3k 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/* ...
1
vote
1answer
5k views

Changing default system locale on CentOS 5

I'm running a CentOS 5 server and the current default locale seems to be always set as: LANG=zh_CN.GB18030 LC_CTYPE="zh_CN.GB18030" LC_NUMERIC="zh_CN.GB18030" LC_TIME="zh_CN.GB18030" ...
1
vote
2answers
478 views

Recommendation for locale on server: ISO (latin) or UTF-8

What is the recommended locale setting on a server that is used as an web and database server. Are there any drawbacks not using UTF-8 as default?
1
vote
2answers
10k views

Informix “Database locale information mismatch”

I have informix 11.5 running in my Win-2003 box and few databases running in it. System databases have locale en_us.819 My custom databases have locale en_us.57372 (UTF8). There is also application ...
1
vote
1answer
400 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 ...