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)

27
votes
3answers
61k 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 ...
11
votes
8answers
21k 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 ...
8
votes
2answers
11k 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?
7
votes
8answers
18k 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: ...
7
votes
2answers
7k 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, ...
7
votes
1answer
23k 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 ...
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
713 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
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
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
1k 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
3k 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
5answers
4k 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
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
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
2answers
1k 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?
3
votes
2answers
391 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
931 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
3answers
5k 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
3k 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 / ...
2
votes
2answers
1k 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
2answers
409 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
95 views

Is it possible to have localised Windows user names?

Is it possible to have localised Windows user names?
2
votes
1answer
141 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
217 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 ...
1
vote
5answers
875 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
16k 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. ...
1
vote
4answers
18k 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" ...
1
vote
4answers
790 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
2answers
77 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
496 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
3answers
1k 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
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
262 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
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
2answers
2k 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 ...
1
vote
2answers
707 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 ...
1
vote
2answers
7k 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
45 views

Addressing built-in groups and local policies in Windows independently of localized names

Recently I saw an application failing to do certain check/manipulation with built-in groups/local policies on localized version of Windows Server 2012 R2 (French, German). In localized versions of ...
1
vote
1answer
73 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 ...
1
vote
3answers
248 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
1answer
107 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 ...
1
vote
2answers
519 views

reverse proxy and caching for a website

I come from Europe and in my country there are really expensive webservers, so i have my VPS server in the USA. Now i need on one hand a website with local IP and on other hand fast webserver. So i am ...
1
vote
2answers
2k views

Debian Squeeze locale settings

I have a problem with a slightly customised Debian image that I'm trying to do some headless work on. The problem is that the installed locales list has been reduced to this: C en_GB en_GB.iso88591 ...
1
vote
2answers
3k views

How to fix locale settings in debian lenny (minimal)

I have a debian machine running remotely, i tried many ways to fix this locale issue, which is harmless while using apt-get though but because of it my web apps are not functioning properly. I have ...
1
vote
1answer
634 views

Pandoc locale problems

I'm trying to generate documentation pdf file with pandoc's markdown2pdf. My source file contains some cyrillic UTF-8 symbols. My system locale is en_US.UTF-8. When run in default locale, ...
1
vote
2answers
635 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 ...
1
vote
1answer
408 views

Oracle Database character set issue with the audit tables on Debian

I've got Oracle XE installed on Debian linux and the character set is configured to AL32UTF8. There are several client applications that connects to a database from Windows with the different locales ...
1
vote
0answers
481 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 ...
1
vote
0answers
42 views

Kerberos credentials cache dates reported differently in Debian Squeeze and Debian Wheezy

I have two Debian servers which use same LDAP/Kerberos server, but dates in output of klist on them shown in different format - mm/dd/yyyy on squeeze vs dd/mm/yy on wheezy. Looks like they just use ...