Adding locales in Ubuntu

By Filip Salomonsson; published on January 27, 2007.

I stopped fighting the urge and got myself a slice of Slicehost last night. And boy, am I glad I did. This shit gets me all giddy.

Anyway, I got it with Ubuntu, and being a fairly clean base installation, there are things that need to be fiddled. Such as locales.

For my own information, here's what I did:

$ cd /usr/share/locales
$ sudo ./install-language-pack en_US.UTF-8
$ sudo ./install-language-pack sv_SE.UTF-8
$ sudo dpkg-reconfigure locales

I have no idea is the dpkg-reconfigure is needed, and I think I could have used locale-gen directly instead. But there you go.

Shortly thereafter, I did tzconfig. Welcome to my time.