[sane-devel] locale rename: no -> nb

Johannes Meixner jsmeix at suse.de
Fri Oct 26 13:42:04 UTC 2007


Hello,

since a longer time (i.e. since Oct 2004) we apply a patch
to do a locale rename:
--------------------------------------------------------------------
--- po/Makefile.in.orig 2005-07-15 22:50:41.000000000 +0200
+++ po/Makefile.in      2005-08-08 15:25:50.000000000 +0200
@@ -2,7 +2,7 @@
 #
 # See po/README for documentation.
 
-ALL_LINGUAS = bg cs da de es fi fr it nl no pl pt ru sv 
+ALL_LINGUAS = bg cs da de es fi fr it nl nb pl pt ru sv 
 
 SRC_FILES = ../include/sane/saneopts.h ../backend/artec_eplus48u.c \
   ../backend/avision.h \
--------------------------------------------------------------------
and directly after the patch is applied we do in the RPM spec file
"mv po/sane-backends.no.po po/sane-backends.nb.po"

The reason is that we don't have a /usr/share/locale/no/
directory but we have /usr/share/locale/nb/ so that the
Norwegian translation stuff is stored as
/usr/share/locale/nb/LC_MESSAGES/sane-backends.mo

I don't know the details behind but I found (via Google)
the following text from a Norwegian person:
--------------------------------------------------------------------
The correct locale for Norwegian Bokmal (the primary language
in Norway) is nb_NO. It used to be no_NO. But as we have another
version of our language they have been separated to nb_NO and nn_NO. 
--------------------------------------------------------------------
(FYI: nn_NO is Norwegian Nynorsk)

I don't know if it make sense for you to use also nb by default.
But I like to have you informed so that you know what we did.


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex



More information about the sane-devel mailing list