[Bug 553644] New: YaST main menu in konsole mode is not lokacized
http://bugzilla.novell.com/show_bug.cgi?id=553644 Summary: YaST main menu in konsole mode is not lokacized Classification: openSUSE Product: openSUSE 11.2 Version: RC 2 Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Translations AssignedTo: ke@novell.com ReportedBy: embar@super.lt QAContact: ke@novell.com Found By: --- Created an attachment (id=326169) --> (http://bugzilla.novell.com/attachment.cgi?id=326169) YaST main menu in konsole mode User-Agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux 2.6.31.5-0.1-desktop; X11; x86_64; lt) KHTML/4.3.1 (like Gecko) SUSE Then opening YaST main menu in konsole mode, names of YaST tools is in English (not lokacized names). Reproducible: Always Steps to Reproduce: 1. go to konsole mode (ex., press Ctrl+Alt+F2) 2. login as root 3. type „yast“ Actual Results: Names of YaST modules are in English Expected Results: Names of YaST modules are in Lithuanian -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=553644
User embar@super.lt added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c1
--- Comment #1 from Mindaugas Baranauskas
http://bugzilla.novell.com/show_bug.cgi?id=553644
Mindaugas Baranauskas
http://bugzilla.novell.com/show_bug.cgi?id=553644
zhu rensheng
http://bugzilla.novell.com/show_bug.cgi?id=553644
User ke@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c2
Karl Eichwalder
http://bugzilla.novell.com/show_bug.cgi?id=553644
Steffen Winterfeldt
http://bugzilla.novell.com/show_bug.cgi?id=553644
User kmachalkova@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c3
--- Comment #3 from Katarina Machalkova
The ncurses UI does not seem to read the desktop files related translation files properly.
I'm afraid this is not the case, unless something changed in the structure of desktop_translations.mo and if it was really so, somebody would probably have noticed already. W8, I'll get 11.2 GM and investigate -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=553644
User kmachalkova@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c4
Katarina Machalkova
http://bugzilla.novell.com/show_bug.cgi?id=553644
User kmachalkova@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c5
--- Comment #5 from Katarina Machalkova
http://bugzilla.novell.com/show_bug.cgi?id=553644
User ke@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c6
--- Comment #6 from Karl Eichwalder
*utterly confused* I tried to reproduce with French and Czech to no avail. Because (let's look at French:
* desktop_translations.mo lives in /usr/share/locale-bundle/fr/LC_MESSAGES and bundle-lang-common-fr owns it * it also lives in /usr/share/locale/fr/LC_MESSAGES and desktop_translations owns it
I can't make much sense of this duality. Karl, can you shed some light into this?
I guess there is some magic involved. I guess desktop_translations lacks some language tags or markers. I must check whe bundle-lang-common-lt is missing... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=553644
User ke@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c7
Karl Eichwalder
http://bugzilla.novell.com/show_bug.cgi?id=553644
User kmachalkova@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c8
Katarina Machalkova
For German, it basically works. YaST ncurses seems to honor /usr/share/locale-bundle only. Hhmm. Maybe, it should prefer locale-bundle, and, if not available, also try /usr/share/locale.
FWIW, ncurses YaST uses dgettext YCP builtin which is implemented in yast2-core (libycp). Don't know what that one does internally, mvidner knows. CC-ing him
I did not check the qt incarnation, though.
This one uses dgettext from libintl.h directly and binds textdomain in /usr/share/locale. Hence it successfully finds Lithuanian translations -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=553644
User kmachalkova@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c9
--- Comment #9 from Katarina Machalkova
Finally, adjustment it needed to create bundle-lang-common-lt to solve this very bug ;)
Actually, to avoid multiple package rebuilds and .spec file adjustments now, this very bug can be solved in much more simple way. Instead of: dgettext("desktop_translations, msgid) YaST (Desktop.ycp) would do: dpgettext("desktop_translations", "/usr/share/locale", msgid) That way we would get ncurses CC translated for every language, even those without their own bundle-lang-common. That would be simple enough for 11.2 online update. For 11.3, we can think of solving it on the package level. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=553644
Karl Eichwalder
http://bugzilla.novell.com/show_bug.cgi?id=553644
User ke@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553644#c10
Karl Eichwalder
http://bugzilla.novell.com/show_bug.cgi?id=553644#c11
Gabriele Mohr
http://bugzilla.novell.com/show_bug.cgi?id=553644
http://bugzilla.novell.com/show_bug.cgi?id=553644#c12
Jiri Srain
http://bugzilla.novell.com/show_bug.cgi?id=553644
http://bugzilla.novell.com/show_bug.cgi?id=553644#c13
--- Comment #13 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com