Adding locales on Ubuntu?

Florian Diesch diesch at spamfence.net
Wed Jul 12 17:23:44 UTC 2006


Adam Funk <a24061 at yahoo.com> wrote:

> The output of `locale -a` include C, POSIX and a number of locales
> ending in utf8.  I need to have a few iso88591 locales as well, for
> viewing and manipulating text files in Latin-1.
>
> On Debian, I do this by adding them to /etc/locale.gen and run
> locale-gen (as root).  My Ubuntu machine doesn't have this file and
> /etc/belocs/locale-gen.conf looks quite different.

sudo locale-gen en_GB.ISO-8859-15   (or whatever locales you want)

You can edit /var/lib/locales/supported.d/* manualy too.



   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list