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.

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.

118 questions
103
votes
8 answers

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 formats are in English but I want them in Dutch,…
Hongli Lai
  • 2,112
  • 4
  • 22
  • 27
41
votes
5 answers

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-interactively? Choose en_US.UTF-8 and set it as system…
kenn
  • 625
  • 1
  • 5
  • 10
25
votes
5 answers

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?
Richard Knop
  • 1,089
  • 2
  • 19
  • 33
24
votes
13 answers

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: warning: Please check that your locale settings: …
blogjunkie
  • 411
  • 1
  • 3
  • 6
23
votes
4 answers

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, on a German machine, you will get…
Pekka
  • 2,158
  • 3
  • 19
  • 32
18
votes
11 answers

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 the command line, I get the following…
Cem
  • 533
  • 3
  • 6
  • 14
16
votes
5 answers

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

Here's the output of…
locale
  • 373
  • 2
  • 4
  • 10
9
votes
2 answers

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 the first place. Which is to say I need to…
Barbary
  • 91
  • 1
  • 1
  • 2
9
votes
2 answers

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…
The Shurrican
  • 2,230
  • 7
  • 39
  • 58
8
votes
2 answers

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 it. The installation didn't complete and I even…
Aleksander A
  • 101
  • 1
  • 4
8
votes
2 answers

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?
Howard
  • 2,005
  • 11
  • 47
  • 70
6
votes
1 answer

``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: yeri@b9b3e889fd76 ~ $ date Thu 01 Aug 2019 11:28:25 PM…
Tuinslak
  • 1,435
  • 7
  • 30
  • 54
6
votes
4 answers

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 en_US en_US.utf8 POSIX zh_TW
Ryan
  • 5,341
  • 21
  • 71
  • 87
6
votes
5 answers

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?
Ryan
  • 5,341
  • 21
  • 71
  • 87
6
votes
5 answers

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 = (unset), LC_TIME = "custom.UTF-8", LANG =…
user60129
1
2 3 4 5 6 7 8