Re: (no subject)

Hi Pau,

Today at 13:05, Pau Amaro-Seoane wrote:

> I am sorry that I write to you directly, but I have spent a lot of time on
> this thing and could not find the solution...
> I am trying to set locales and gnome to catalan in my gentoo laptop.

You should ask similar question on Gentoo forums.  They're more likely
to be able to give you correct "Gentoo-way" of doing it.  But, read

> but when looking at locale -a, I don't find the catalan option ...
> nevertheless I did
> # mkdir /etc/portage
> # echo "sys-libs/glibc userlocales" >> /etc/portage/package.use
> # vi /etc/

After this you probably need to do an equivalent of "locale-gen" on
Debian-based systems.  You can also do the following manually:

# localedef -c -f UTF-8 -i ca_ES ca_ES.UTF-8
# localedef -c -f ISO-8895-1 -i ca_ES ca_ES

With -f you give out character set to use, and with "-i" you give out
locale definition to use.  Final parameter ("ca_ES.UTF-8" and "ca_ES"
above) is the name of the locale you're generating.  You may want to
try "ca_ES euro", but I don't know what other parameters you need for
that (check source files in /usr/share/i18n/{charmaps|locales}/, these
files are used for -f and -i parameters).

But, if there's any Gentoo-specific way of doing it, you probably want
to try that.

Also, if you set LC_ALL, you need not set anything else except LANG.
You can also set LANGUAGE variable to a colon-delimited list of values
(eg. "ca_ES:ca:es:en" to try Catalan in Spain first, then simply
Catalan, Spanish, and finally English).  LANGUAGE should work even if
you don't have any locale installed, so try simply setting
"LANGUAGE=ca_ES:ca" first (but this won't give you Catalan dates,
weekday names, etc.).

> Am I forgetting something? How can I "catalanise" my gentoo-gnome box?

Draw funky images with word "Catalan" all over it, and use it as a
background, for GDM themes, record startup sounds with you singing
some Catalan song, etc :)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]