Red Hat Bugzilla – Bug 103464
Problems with localisation
Last modified: 2007-04-18 12:57:17 EDT
Description of problem:
When running switchdesk with Norwegian locale I still get the english strings. I
think the problem could be in switchdesk/src/switchdesk-gnome.c where config.h
should be the very first include instead of being placed down with the intl.h
Also attaching a norwegian translation for the .desktop file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Also, should the .desktop file be utf8 encoded?
Created attachment 94094 [details]
Norwegian translation of the meny entry
*** Bug 85415 has been marked as a duplicate of this bug. ***
Attaching a tested patch for switchdesk-gnome.c - the KDE variant doesn't work
here and I don't know KDE's i18n framework well enough to look into it.
Created attachment 94095 [details]
patch to fix localisation
After looking at the strace output when running the KDE variant it seems as if
it's looking in the wrong place for the message catalog. switchdesk-kde is
looking in /usr/share/locale/no_NO.UTF-8/LC_MESSAGES when it's really in
Created attachment 94096 [details]
Patch fixing the Qt frontend.
Patch fixing the Qt frontend (not tested with USE_KDE2):
* switchdesk was looking for "messages.mo" instead of "switchdesk.mo"
* The translations were assumed to be in Latin-1
TODO: use intltool for .desktop translation, if someone cares enough.
Attaching a screenshot that shows the text is overlapped with the logo.
Created attachment 94097 [details]
*** Bug 73178 has been marked as a duplicate of this bug. ***
it's fixed in 4.0.0, which is available in rawhide
OK, please push it to elvis.redhat.com (including updated .po files)
so that it can be translated.
It's already on elvis a month ago! Could you please check it from CVS
Yes, the code is there, but the .po files are not updated.
The glade file has revisions dated 2004/02/15 and 2004/04/06,
but (grep -h POT-Creation-Date *|sort -u) shows the files
were updated last time on 2004/02/01, some of them even
The way it currently works (I don't like it that much either)
is that developers should manually run (make -C po update-po)
and push the results to elvis.
ok, i have done the po files update and already commited the changes
into CVS. Could you please check again. Thanks
Looks fine, thanks a lot!