Bug 42748 (suse27748)

Summary: Consolidate nb/nn/no locale support
Product: [openSUSE] openSUSE 11.0 Reporter: Karl Eichwalder <ke>
Component: OtherAssignee: Ruediger Oertel <ro>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P3 - Medium CC: aj, ke, kukuk
Version: Alpha 0   
Target Milestone: Alpha 0   
Hardware: All   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Karl Eichwalder 2003-07-07 23:15:05 UTC
Norwegian message files coming with mixed suffixes; we should rename
the files as follows:

    .no         -> .nb
    .no@nynorsk -> .nn

KDE comes with kde3-i18n-nn and kde3-i18n-nb; that's correct.  There is
a rather general report on glibc and X deficiency (I don't know whether
SuSE Linux is also affected):

From: Petter Reinholdtsen <pere@hungry.com>
Subject: Re: [i18n-nb] 'no' versus 'nb' in translations for GNU tar?
To: Paul Eggert <eggert@CS.UCLA.EDU>
Cc: translation@IRO.UMontreal.CA, i18n-nb@lister.ping.uio.no
Date: 06 Jul 2003 20:21:46 +0200

[Kjartan Maraas]
> no is deprecated, but it's going to take a coordinated move to get stuff
> over to nb I think. I've already filed a bug with Red Hat since I do the
> translations for that distro, but I want to switch GNOME and the Red Hat
> translations at the same time to make sure everything works when it's
> done. KDE is already using nb_NO.
>
> I think we should start bugging the distro makers to get the default
> locale switched over to nb there, and start moving existing translations
> as soon as possible.

The first thing to fix is the locale in glibc.  When nb_NO is an alias
for no_NO as it is now, there is no way to get gettext to use the
nb.po files.  I've filed a bug,
<URL:http://bugs.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gl\
ibc&pr=2981>,
but is still waiting for a resolution.  I've since asked for a new
nb_NO locale instead of renaming no_NO,
<URL:http://sources.redhat.com/ml/libc-alpha/2003-06/msg00133.html>.
I hope one of these solutions will be accepted by the glibc
maintainers soon.

The next thing is to update XFree86 to use the same locale name.  Then
all the other packages should be fairly easy to fix.
Comment 1 Karl Eichwalder 2003-07-07 23:15:05 UTC
<!-- SBZ_reproduce  -->
.
Comment 2 Berthold Gunreben 2003-07-09 15:47:17 UTC
I don't know what to do with this bug. Maybe the tar maintainer can have a look. 
Comment 3 Philipp Thomas 2003-07-09 16:00:03 UTC
I can't do anything either. This is for the glibc maintainers to decide. So
I'll reassign again.
Comment 4 Thorsten Kukuk 2003-07-09 16:11:32 UTC
If this will be accepted upstream, I will add it. 
But before this does not happen, I will not change it. 
Comment 5 Karl Eichwalder 2003-07-09 16:45:19 UTC
<!-- SBZ_reopen -->Reopened by ke@suse.de at Wed Jul  9 10:45:19 2003
Comment 6 Karl Eichwalder 2003-07-09 16:45:19 UTC
A simple question whether we should rename yast2-trans-no to yast2-trans-nb
(following KDE's example)?

I'll assign the bug to me...
Comment 7 Karl Eichwalder 2003-07-09 16:46:28 UTC
for later
Comment 8 Karl Eichwalder 2004-10-07 22:41:18 UTC
<!-- SBZ_reopen -->Reopened by ke@suse.de at Thu Oct  7 16:41:18 2004
Comment 9 Karl Eichwalder 2004-10-07 22:41:18 UTC
check it for 9.3
Comment 10 Karl Eichwalder 2004-10-08 14:01:33 UTC
AFAIKS, glibc now comes with nb and nn support.  Now we should start renaming
"no" files to "nb" and/or report the issue upstream:

/opt/gnome/share/locale/no/LC_MESSAGES/anjuta.mo
/opt/gnome/share/locale/no/LC_MESSAGES/atk10.mo
/opt/gnome/share/locale/no/LC_MESSAGES/bonobo.mo
/opt/gnome/share/locale/no/LC_MESSAGES/bug-buddy.mo
/opt/gnome/share/locale/no/LC_MESSAGES/control-center-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/control-center.mo
/opt/gnome/share/locale/no/LC_MESSAGES/dasher.mo
/opt/gnome/share/locale/no/LC_MESSAGES/devhelp.mo
/opt/gnome/share/locale/no/LC_MESSAGES/dia.mo
/opt/gnome/share/locale/no/LC_MESSAGES/eel-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/eog.mo
/opt/gnome/share/locale/no/LC_MESSAGES/epiphany-extensions-1.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/epiphany.mo
/opt/gnome/share/locale/no/LC_MESSAGES/evolution-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/evolution-data-server-1.5.mo
/opt/gnome/share/locale/no/LC_MESSAGES/file-roller.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gabber.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gail.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gaim.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gal-0.24.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gal-2.2.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gcalctool.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gconf-editor.mo
/opt/gnome/share/locale/no/LC_MESSAGES/GConf.mo
/opt/gnome/share/locale/no/LC_MESSAGES/GConf2.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gdm-2.4.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gedit-2.6.mo
/opt/gnome/share/locale/no/LC_MESSAGES/ggv.mo
/opt/gnome/share/locale/no/LC_MESSAGES/ghex-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gimp20-libgimp.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gimp20-script-fu.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gimp20-std-plug-ins.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gimp20.mo
/opt/gnome/share/locale/no/LC_MESSAGES/glade-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-applets-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-desktop-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-games.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-keyring.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-libs.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-mag.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-media-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-mime-data.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-netstatus.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-panel-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-pilot.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-print.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-session-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-spell-0.5.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-spell-1.0.5.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-system-monitor.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-terminal.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-themes.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-utils-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-vfs-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnome-vfs.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnomeicu.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnomemeeting.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnopernicus.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gnumeric.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gok.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gpdf.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gqview.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gthumb.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gtk+.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gtk20-properties.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gtk20.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gtkhtml-3.1.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gtkhtml.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gtksourceview-1.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/gucharmap.mo
/opt/gnome/share/locale/no/LC_MESSAGES/Guppi.mo
/opt/gnome/share/locale/no/LC_MESSAGES/inkscape.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libbonobo-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libbonoboui-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libgda-2.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libgnome-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libgnomecanvas-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libgnomecups.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libgnomedb-2.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libgnomeprint-2.2.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libgnomeprintui-2.2.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libgnomeui-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libgtop-2.0.mo
/opt/gnome/share/locale/no/LC_MESSAGES/libwnck.mo
/opt/gnome/share/locale/no/LC_MESSAGES/mergeant.mo
/opt/gnome/share/locale/no/LC_MESSAGES/metacity.mo
/opt/gnome/share/locale/no/LC_MESSAGES/nautilus-cd-burner.mo
/opt/gnome/share/locale/no/LC_MESSAGES/nautilus-media.mo
/opt/gnome/share/locale/no/LC_MESSAGES/nautilus.mo
/opt/gnome/share/locale/no/LC_MESSAGES/oaf.mo
/opt/gnome/share/locale/no/LC_MESSAGES/pan.mo
/opt/gnome/share/locale/no/LC_MESSAGES/planner.mo
/opt/gnome/share/locale/no/LC_MESSAGES/pybliographer.mo
/opt/gnome/share/locale/no/LC_MESSAGES/totem.mo
/opt/gnome/share/locale/no/LC_MESSAGES/vte.mo
/opt/gnome/share/locale/no/LC_MESSAGES/xchat.mo
/opt/gnome/share/locale/no/LC_MESSAGES/yelp.mo
/opt/gnome/share/locale/no/LC_MESSAGES/zenity-0.1.mo
/opt/kde3/share/locale/no/LC_MESSAGES/kdebase-SuSE.mo
/opt/kde3/share/locale/no/LC_MESSAGES/libsusehwhelper.mo
/opt/kde3/share/locale/no/LC_MESSAGES/SuSEgreeter.mo
/opt/kde3/share/locale/no/LC_MESSAGES/suseplugger.mo
/opt/kde3/share/locale/no/LC_MESSAGES/susewatcher.mo
/usr/share/locale/no/LC_MESSAGES/a2ps.mo
/usr/share/locale/no/LC_MESSAGES/coreutils.mo
/usr/share/locale/no/LC_MESSAGES/freeciv.mo
/usr/share/locale/no/LC_MESSAGES/gettext-runtime.mo
/usr/share/locale/no/LC_MESSAGES/gettext-tools.mo
/usr/share/locale/no/LC_MESSAGES/gimp-print.mo
/usr/share/locale/no/LC_MESSAGES/grep.mo
/usr/share/locale/no/LC_MESSAGES/hotplugctl.mo
/usr/share/locale/no/LC_MESSAGES/libgphoto2-2.mo
/usr/share/locale/no/LC_MESSAGES/libgphoto2_port-0.mo
/usr/share/locale/no/LC_MESSAGES/mc.mo
/usr/share/locale/no/LC_MESSAGES/popt.mo
/usr/share/locale/no/LC_MESSAGES/rpm.mo
/usr/share/locale/no/LC_MESSAGES/sane-backends.mo
/usr/share/locale/no/LC_MESSAGES/scrollkeeper.mo
/usr/share/locale/no/LC_MESSAGES/shared-mime-info.mo
/usr/share/locale/no/LC_MESSAGES/sharutils.mo
/usr/share/locale/no/LC_MESSAGES/texinfo.mo
/usr/share/locale/no/LC_MESSAGES/wdiff.mo
/usr/share/locale/no/LC_MESSAGES/wget.mo
/usr/share/locale/no/LC_MESSAGES/WindowMaker.mo
/usr/share/locale/no/LC_MESSAGES/xscreensaver.mo
/usr/share/vim/vim63/lang/no/LC_MESSAGES/vim.mo

maybe more - I did not a full installation.  I recommend adding a check to the
autobuild system.  Assigning for takeing a decision.
Comment 11 Andreas Jaeger 2004-10-08 19:19:30 UTC
Something for the dist meeting - Rudi, can you take care of that? 
Comment 12 Ruediger Oertel 2004-10-13 23:40:50 UTC
mailed to list as topic for tomorrow. 
Comment 13 Ruediger Oertel 2004-10-18 20:27:32 UTC
blocking "no" for STABLE now: 
        # blocking no in favour of nb/nn: 
        /opt/gnome/share/locale/no| 
        /opt/gnome/share/locale/no/*| 
        /opt/kde3/share/locale/no| 
        /opt/kde3/share/locale/no/*| 
        /usr/share/locale/no| 
        /usr/share/locale/no/*| 
        /usr/share/vim/vim63/lang/no| 
        /usr/share/vim/vim63/lang/no/*) 
          echo `package_name $RPM`: \""$LINE"\" is not allowed anymore in SuSE 
Linux. 
          echo "Please use nb or nb_NO (and nn for nynorsk)" 
          UNVALID_FILE_FOUND=true 
        ;; 
 
Comment 14 Peter Bowen 2008-10-15 21:23:17 UTC
This bug is referenced in a public error message in the build service.  Any reason we cannot open it to allow everyone to read it?
Comment 15 Ruediger Oertel 2008-10-16 01:13:04 UTC
only reason is it was reported against an old product that was done at a time when the bugreports were not public yet. no problem opening it from my side.
Comment 16 Andreas Jaeger 2008-10-16 04:30:57 UTC
Ok, moving it to 11.0 - that way it will be open ;)