Adding locales on Ubuntu?

Florian Diesch diesch at spamfence.net
Thu Jul 13 16:40:44 UTC 2006


Adam Funk <a24061 at yahoo.com> wrote:

> On 2006-07-12, Florian Diesch <diesch at spamfence.net> wrote:
>> 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)
>
> That particular combination works, but not some others (see below),

/usr/share/i18n/SUPPORTED lists all supported locales


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




More information about the ubuntu-users mailing list