How to install/change locale on Debian?

Posted by Hongli Lai on Server Fault See other posts from Server Fault or by Hongli Lai
Published on 2009-08-15T14:42:32Z Indexed on 2012/11/05 11:08 UTC
Read the original article Hit count: 301

Filed under:
|
|

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, so I need to set the system's locale. How do I do that on Debian? I tried setting LC_ALL=nl_NL but it doesn't seem to have any effect:

$ date
Sat Aug 15 14:31:31 UTC 2009
$ LC_ALL=nl_NL date
Sat Aug 15 14:31:36 UTC 2009

I remember that setting LC_ALL on my Ubuntu desktop system works fine. Do I need to install extra packages to make this work, or am I doing it entirely wrong?

© Server Fault or respective owner

Related posts about linux

Related posts about debian