Locale difficulties [was Re: de_CH translation]

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Tue Oct 16 03:45:39 PDT 2012


Den 16.10.12 12:31, skrev Dirk Hohndel:
> so why is our locale named no_NO and not nb_NO ?

Here's the problem:

$ ls -d /usr/share/locale/*_NO*
/usr/share/locale/no_NO /usr/share/locale/no_NO.ISO8859-1 
/usr/share/locale/no_NO.ISO8859-15    /usr/share/locale/no_NO.UTF-8

For some weird reason, MacOSX doesn't have the nb_* and nn_* locales in 
/usr/share/locale.

That's why I printed the gettext lookups from dtruss in an earlier 
email.  On the command line, the locale will be "no_NO.UTF-8".  When 
starting from the desktop, the locale seems to be "nn" (or "nb"). And 
*that's* why I want aliases.  A simple "cp -R locale/{no_NO.UTF-8,nb}" 
would solve it.  (Or maybe some magic in subsurface.sh, but I still 
haven't had time to look at that yet.)

H


More information about the subsurface mailing list