[Nix-dev] Getting more locales

Lluís Batlle viriketo at gmail.com
Tue Mar 17 23:16:22 CET 2009


Hello,

today I needed a new locale in the system, ru_RU.CP1251, which wasn't
already created in ${glibc}/lib/locale/locale-archive (according to
localedef --list-archive).

I decided to use directly localedef over the locale-archive in the
store to get the new locale built, so I modified a store file.
nix-store --verify doesn't complain at all.

Do you know a better way to have a new locale in the profile?
localedef allows working with a different archive, but I don't know
how to get the gettext system use it. I imagine it should be possible;
why wouldn't be users able to create their own locales?

Regards,
Lluís.



More information about the nix-dev mailing list