Bug 150729

Summary: System Settings displays three languages mixed: Norwegian, English and Japanese
Product: [Translations] i18n Reporter: morten.lunde
Component: nbAssignee: Axel Bojer <axelb>
Status: RESOLVED FIXED    
Severity: normal CC: karl
Priority: NOR    
Version: 3.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of the mentioned window with mixed Japanese, English and Norwegian
Corrected mo-file with just English and no Japanese :-)

Description morten.lunde 2007-10-11 22:43:29 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Ubuntu Packages
OS:                Linux

When trying to set up a new user after changing the language from US-english (Kubuntu 7.10 beta didn't allow for Norwegian language to be chosen during Live-CD install) to Norwegian (had to download the Norwegian file), "User management" in System Settings now appear with Norwegian mixed with some Asian language (Chinese?).  

By the way - I have a screenshot of this that I would have liked to attach, but it is not possible.  E-mail me if you need it.
Comment 1 Marek Laane 2007-10-18 23:56:47 UTC
Adding Karl Ove Hufthammer to CC, as he seems to be very active in updating all Norks translations...
Comment 2 Axel Bojer 2007-10-30 18:21:44 UTC
Created attachment 21951 [details]
Screenshot of the mentioned window with mixed Japanese, English and Norwegian
Comment 3 Axel Bojer 2007-10-30 19:28:58 UTC
Same her, to reproduce:
Open «System settings -- Monitor and display»
The tabs and great parts of the windows there are in mixed Japanese and English -- although I have installed and chosen Norwegian as my preferred language, and Norwegian is showed almost everywhere else.
(You can see it is japanes because it is not only kanjis but also kanas).

Solution (workaround):
msgfmt -o guidance.mo kde3-trunk/templates/messages/extragear-utils/guidance.pot

sudo mv /usr/share/locale-langpack/nb/LC_MESSAGES/guidance.mo /usr/share/locale-langpack/nb/LC_MESSAGES/guidance.mo-gml

sudo mv kde3-trunk/templates/messages/extragear-utils/guidance.mo /usr/share/locale-langpack/nb/LC_MESSAGES/guidance.mo

This solution could easily be adapted by kubuntu also, and eliminate this bug.

... replaces the Japanese parts with English, for most Norwegians I suppose this is easier understandable :-P

(the kde3 file for these dialogues are not translated, so somehow those are then replaced partly with english and partly with Norwegian.
Comment 4 Marek Laane 2007-10-30 19:34:37 UTC
So, is it just one more (K)Ubuntu's bug or something KDE developers or Norwegian translators can be help?
Comment 5 Axel Bojer 2007-10-30 19:45:18 UTC
It is not even translated into Norwegian, so the package is not from the Norwegian translation team at all. I suppose the package manager has made a mistake some place. I will add the mo-file I made for reference -- and as a hot fix for those who will not wait :-)
Comment 6 Axel Bojer 2007-10-30 19:53:30 UTC
Created attachment 21952 [details]
Corrected mo-file with just English and no Japanese :-)
Comment 7 Axel Bojer 2007-10-30 20:01:20 UTC
Somehow the mo-file I attached insists on being a cgi-file, until some kind soul solves this it is possible to use this link instead:
http://d.skolelinux.no/~axelb/Foreloepig/guidance.mo
Comment 8 Axel Bojer 2007-10-31 09:38:41 UTC
An even easier solution would be:

sudo mv /usr/share/locale-langpack/nb/LC_MESSAGES/guidance.mo /usr/share/locale-langpack/nb/LC_MESSAGES/guidance.mo-gml

sudo cp /usr/share/locale-langpack/en_GB/LC_MESSAGES/guidance.mo /usr/share/locale-langpack/nb/LC_MESSAGES/guidance.mo

then you dont't need ekstra packages at all.

Hilsen Axel
Comment 9 Axel Bojer 2007-11-01 15:17:54 UTC
I was told that another way of solving this is to just move the buggy file out of the way, the standard English (American English??) will then be chosen instead you your localised language. Since this file is not translated, it will work just as well.
Comment 10 Axel Bojer 2007-11-06 21:29:32 UTC
Nothing more to do with this in KDE itself, has to be fixed in Kubuntu, see this bugreport:
https://bugs.launchpad.net/ubuntu/+bug/155052
Comment 11 Axel Bojer 2007-11-07 10:31:07 UTC
Stated as solved here:
https://bugs.launchpad.net/ubuntu/+source/kde-guidance/+bug/133315
I am closing this now.