qt-language-selector is unable to set system default language in kubuntu lucid

Bug #542558 reported by İsmail YILMAZ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
Fix Released
High
Arne Goetje

Bug Description

Binary package hint: language-selector

This bug (?) is encountered in Kubuntu Lucid Lynx Netbook Remix Beta 1: It is impossible to set/change system language via qt-language selector. When attempting to change/set system language in kubuntu, qt-language-selector gives the following error and does nothing instead:

file "usr/lib/python2.6/dist-packages/LanguageSelector/qt/QtLanguageSelector.py", line 259, in onSystemPushButtonOk:
self.SetSystemDefaultLanguage(code)

AttributeError: 'QtLanguageSelector' object has no attribute 'setSystemDefaultLanguage'

Arne Goetje (arnegoetje)
Changed in language-selector (Ubuntu):
importance: Undecided → High
status: New → In Progress
assignee: nobody → Arne Goetje (arnegoetje)
Arne Goetje (arnegoetje)
Changed in language-selector (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fixed in Language Selector 0.5.2 in lucid.

Changed in language-selector (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Arne Goetje (arnegoetje) wrote :

Jonathan, it would have been nice if you would have either merged my branch back into the trunk and uploaded the whole bunch of fixes, or would have contacted me first.

I'm not so sure that
self.writeLanguageSettings(sysLanguage=code, sysLang=code)

should have sysLanguage set, let alone to the locale code. The LANGUAGE variable has a different syntax than LANG.
And the LANGUAGE manipulation happens within KDE. So, I'm not sure if this will work fine or if this will conflict.

This commit needs some testing!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.