[Bug 801311] New: Simplified Chinese Translation is missing in Qt Software Management Module
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c0 Summary: Simplified Chinese Translation is missing in Qt Software Management Module Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: i@marguerite.su QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.24 (KHTML, like Gecko) Chrome/26.0.1371.0 Safari/537.24 SUSE/26.0.1371.0 Hi, YaST developers, In 12.3 M2 and B1, yast2-trans-zh_CN all have a qt-pkg.mo and a packager.mo, but yast2 software management (Qt interface) still displays English. It seems there're some changes from 12.2 to 12.3 in YaST2 or a version mismatch between the actual YaST and translation. Can you please check if the same happens to DE or any languages you speak besides English? All else is correct, YaST admin center, YaST ncurses software management and all other stuff are in Chinese. Reproducible: Always Steps to Reproduce: 1. install beta1 2. install yast2-trans-zh_CN and set your locale to zh_CN.UTF-8 3. start yast software management in KDE Actual Results: English GUI Expected Results: Chinese GUI -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c1 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bili@suse.com --- Comment #1 from Li Bin <bili@suse.com> 2013-01-31 07:55:40 UTC --- Yes, same issue with GNOME. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c2 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ke@suse.com --- Comment #2 from Karl Eichwalder <ke@suse.com> 2013-01-31 11:21:36 CET --- Since yesterday (~ 2013-01-30 16:00 CET) we have updated yast pot files in the translation SVN. Can you please check, whether the missing strings are now available for translation? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c3 --- Comment #3 from Marguerite Su <i@marguerite.su> 2013-01-31 10:27:04 UTC --- Created an attachment (id=522790) --> (http://bugzilla.novell.com/attachment.cgi?id=522790) screenshot: refreshing repositories, Chinese -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c4 --- Comment #4 from Marguerite Su <i@marguerite.su> 2013-01-31 10:28:15 UTC --- Created an attachment (id=522791) --> (http://bugzilla.novell.com/attachment.cgi?id=522791) screenshot: refreshing finished, suddenly changed to English, for all strings. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c5 --- Comment #5 from Marguerite Su <i@marguerite.su> 2013-01-31 10:33:05 UTC --- (In reply to comment #2)
Since yesterday (~ 2013-01-30 16:00 CET) we have updated yast pot files in the translation SVN. Can you please check, whether the missing strings are now available for translation?
Hi, Karl, I'm afraid this is not the case. In 12.2, I've already finished all the translations for this interface, which means even if there're fuzzy and overwritten translations, it should at least show something Chinese. But this page is completely English...and the .mo files are not 0 byte ones. So seems we have translations, but due to some unknown reasons, YaST2 doesn't choose to use our translations. The same thing happens to GTK interface too (according to Bin.Li) and zh_TW (according to swyear@opensuse.org), so this is a common problem, I think same thing must also happen to DE or FR locale, if now, it may be YaST forces to use ASCII codings or something that prevents CJK from displaying. I'll check JA locale from @ftake. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c6 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | Severity|Normal |Major --- Comment #6 from Karl Eichwalder <ke@suse.com> 2013-01-31 11:37:08 CET --- Ok, thanks for clarification! In this case, it is a software bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c Gabriele Mohr <gs@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gs@suse.com AssignedTo|yast2-maintainers@suse.de |tgoettlicher@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c7 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com --- Comment #7 from Takashi Iwai <tiwai@suse.com> 2013-01-31 13:56:50 UTC --- I can reproduce also for Japanese locale. Looking through the strace output, it seems that yast2 doesn't look through /usr/share/YaST2/locale directory but only /usr/share/locale directory. As a quick (of course wrong) workaround, making a symlink from /usr/share/YaST2/locale -> /usr/share/locale-langpack make GUI appearing in the proper locale again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c8 --- Comment #8 from Takashi Iwai <tiwai@suse.com> 2013-01-31 13:59:31 UTC --- Created an attachment (id=522818) --> (http://bugzilla.novell.com/attachment.cgi?id=522818) strace output of yast2 sw_single in ja_JP.UTF-8 locale (broken case) Look around line 62946. qt-pkg.mo is searched only in /usr/share/locale* directories. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c9 --- Comment #9 from Takashi Iwai <tiwai@suse.com> 2013-01-31 14:18:07 UTC --- BTW, it's not necessarily on KDE. I tested the minimal X installation on QEMU/KVM, start yast, chose Japanese in the language selection, and it showed the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c10 Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |tgoettlicher@suse.com Resolution| |FIXED --- Comment #10 from Thomas Göttlicher <tgoettlicher@suse.com> 2013-02-04 15:17:24 UTC --- This bug will be fixed in libyui-qt4 version 2.42.5. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c11 --- Comment #11 from Marguerite Su <i@marguerite.su> 2013-04-17 04:28:57 UTC --- Created an attachment (id=535459) --> (http://bugzilla.novell.com/attachment.cgi?id=535459) yast2 gnome version This bugfix doesn't work for GNOME interface, it's still there. reported by forum users. libyui-gtk4 2.42.3-1.1.1 libyui-gtk-pkg4 2.42.2-3.1.1 so can you please take a look at it again? just use yast2-control-genter-gnome and those two packages besides yast2-trans-zh_CN lang package. the refreshing process is good (Chinese), then suddenly all turns to English after the refresh. Thanks very much Marguerite -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c12 Marguerite Su <i@marguerite.su> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #12 from Marguerite Su <i@marguerite.su> 2013-04-17 04:29:34 UTC --- reopened. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c13 --- Comment #13 from Takashi Iwai <tiwai@suse.com> 2013-04-26 10:13:24 UTC --- The similar fix for libyui-gtk seems missing, too. The patched package is found in OBS home:tiwai:branches:openSUSE:12.3/libyui-gtk. Does it work? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c14 --- Comment #14 from Takashi Iwai <tiwai@suse.com> 2013-04-26 10:13:58 UTC --- Created an attachment (id=537025) --> (http://bugzilla.novell.com/attachment.cgi?id=537025) libyui-gtk fix patch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c15 Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #15 from Thomas Göttlicher <tgoettlicher@suse.com> 2013-04-26 10:51:40 UTC --- Takashi, thank you for the patch. libyui-gtk version 2.42.5 will contain this fix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c16 Marguerite Su <i@marguerite.su> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #535459|0 |1 is obsolete| | --- Comment #16 from Marguerite Su <i@marguerite.su> 2013-04-26 11:35:07 UTC --- Created an attachment (id=537040) --> (http://bugzilla.novell.com/attachment.cgi?id=537040) yast2 software management gnome (In reply to comment #13)
The similar fix for libyui-gtk seems missing, too.
The patched package is found in OBS home:tiwai:branches:openSUSE:12.3/libyui-gtk. Does it work?
Sorry tiwai...but it doesn't work -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c17 Marguerite Su <i@marguerite.su> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Summary|Simplified Chinese |Simplified Chinese |Translation is missing in |Translation is missing in |Qt Software Management |GTK Software Management |Module |Module --- Comment #17 from Marguerite Su <i@marguerite.su> 2013-04-27 19:40:30 UTC --- Sorry I have to reopen this bug report again. Actually it's two bugs mixed together: BUG 1. in a `Y2DEBUG=1 strace -eopen -ostrace.log /usr/lib/YaST2/bin/y2base sw_single gtk` strace log(will be attached): YaST tries to find "gtk.mo" in /usr/share/locale/zh_CN/LC_MESSAGES/gtk.mo it should be /usr/share/YaST2/locale/zh_CN/LC_MESSAGES/gtk.mo This is a software bug, so Thomas, please fix it when you have time. BUG 2. I tried to grep "This tool lets your install"(the gnome interface title) in yast/trunk/zh_CN/po it turns to be: grep -r "This tool lets you install" ./ ./gtk.zh_CN.po:#~ msgid "<h1>Purpose</h1><p>This tool lets you install, remove, and update applications.</p><p>Software in &product; is broken down and distributed in the form of packages. This way, if multiple applications require a common system file, this system file is shipped in its own package and is installed only once if needed. The user need not be concerned about such underlying <i>dependencies</i>. Likewise, the plugins and other non-essential data of a given application may be shipped in their own packages, so the user may install them only if needed.</p>" see, it was marked a "~" sign, which means it will not be formated into .mo file. Then I do: file gtk.mo gtk.mo: GNU message catalog (little endian), revision 0.0, 45 messages file qt-pkg.mo qt-pkg.mo: GNU message catalog (little endian), revision 0.0, 327 messages see? a lot of strings have been missing. Then I take a look at 50-pot/gtk.pot The pot file is malformed. it eliminated a lot of strings. (viewvc is currently broken, so I can't tell which commit did that) That's why gtk interface is missing a lot of translations. (will attach latest broken pot, version 82409; gtk.zh_CN.po with older strings) So Karl, let's do something. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c18 Marguerite Su <i@marguerite.su> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #522818|0 |1 is obsolete| | --- Comment #18 from Marguerite Su <i@marguerite.su> 2013-04-27 19:43:50 UTC --- Created an attachment (id=537183) --> (http://bugzilla.novell.com/attachment.cgi?id=537183) gtk interface strace. with tiwai's fix installed and it doesn't work. part of the strace which is useful: open("/usr/share/locale-langpack/zh_CN.UTF-8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/zh_CN.UTF-8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/zh_CN.UTF-8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/zh_CN.utf8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/zh_CN.utf8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/zh_CN.utf8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/zh_CN/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/zh_CN/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/zh_CN/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/zh.UTF-8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/zh.UTF-8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/zh.UTF-8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/zh.utf8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/zh.utf8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/zh.utf8/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/zh/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/zh/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/zh/LC_MESSAGES/gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c19 --- Comment #19 from Marguerite Su <i@marguerite.su> 2013-04-27 19:46:16 UTC --- Created an attachment (id=537184) --> (http://bugzilla.novell.com/attachment.cgi?id=537184) broken gtk.pot the broken gtk.pot. it strip a lot of useful translations and mark them fuzzy. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c20 --- Comment #20 from Marguerite Su <i@marguerite.su> 2013-04-27 19:47:47 UTC --- Created an attachment (id=537185) --> (http://bugzilla.novell.com/attachment.cgi?id=537185) gtk.zh_CN.po with history useful strings are still in the file. that's why I can find the pot is actually broken. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c21 Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #21 from Thomas Göttlicher <tgoettlicher@suse.com> 2013-05-02 13:15:29 UTC --- Should be fixed in libyui version 3.0.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c22 Marguerite Su <i@marguerite.su> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | AssignedTo|tgoettlicher@suse.com |ke@suse.com --- Comment #22 from Marguerite Su <i@marguerite.su> 2013-05-02 15:19:25 UTC --- Thanks, Thomas, Now I reassign it to Karl to fix the gtk.po file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c23 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |tgoettlicher@suse.com --- Comment #23 from Karl Eichwalder <ke@suse.com> 2013-05-02 17:46:07 CEST --- If I got it right, we now need the update .pot file. Thomas, please attach it here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c24 --- Comment #24 from Thomas Göttlicher <tgoettlicher@suse.com> 2013-05-03 08:08:58 UTC --- Created an attachment (id=537809) --> (http://bugzilla.novell.com/attachment.cgi?id=537809) pot file Please find attached the newly generated .pot file. Please verify if it's correct. It should contain two additional strings. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c25 Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|tgoettlicher@suse.com | --- Comment #25 from Thomas Göttlicher <tgoettlicher@suse.com> 2013-05-03 08:09:27 UTC --- . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c26 --- Comment #26 from Marguerite Su <i@marguerite.su> 2013-05-03 12:30:40 UTC --- Thanks, Thomas, I use the latest pot file, put the .po file in /usr/share/locale/zh_CN/LC_MESSAGES, and now YaST software management has Chinese strings in GNOME GUI. One additional question: how can I translate strings like "Show _Product"? I translate to "显示产品(_P)" but the whole translation will not work. But you know, I can't translate it into "显示_产品" because the shortkey you assigned it "P". any suggestions? Thanks again Margerite -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c27 --- Comment #27 from Takashi Iwai <tiwai@suse.com> 2013-05-03 12:39:18 UTC --- (In reply to comment #26)
how can I translate strings like "Show _Product"?
I translate to "显示产品(_P)" but the whole translation will not work.
What's the problem with this translation? It looks OK to me... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c28 --- Comment #28 from Marguerite Su <i@marguerite.su> 2013-05-03 13:16:57 UTC --- Created an attachment (id=537867) --> (http://bugzilla.novell.com/attachment.cgi?id=537867) YaST sw gtk menu doesn't work (In reply to comment #27)
I translate to "显示产品(_P)" but the whole translation will not work.
What's the problem with this translation? It looks OK to me...
Hi, tiwai, It's a bug again...GTK menu in YaST2 software management module doesn't work. Here's what I did: 0. Download the newest pot. 1. Translate it. 2. darkpink:/home/marguerite/下载 # msgfmt gtk.zh_CN.po -o gtk.mo darkpink:/home/marguerite/下载 # cp -r gtk.mo /usr/share/locale/zh_CN/LC_MESSAGES/ 3. open YaST. Then you'll see in the attachment, it do solve "GTK SW has no Chinese string", But the menu is still in English, even I have them translated. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c29 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |i@marguerite.su --- Comment #29 from Karl Eichwalder <ke@suse.com> 2013-05-06 11:40:02 CEST --- I updated the SVN. Once translated we can consider an online update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c30 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|i@marguerite.su | Resolution| |FIXED --- Comment #30 from Karl Eichwalder <ke@suse.com> 2013-10-01 15:16:22 CEST --- Because there were no other translation issues reported, I did not prepare an online update for just this issue. The fix will come with 13.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c31 Marguerite Su <i@marguerite.su> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|YaST2 |YaST2 Version|RC 1 |Final Resolution|FIXED | AssignedTo|ke@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 12.3 |openSUSE 13.1 Target Milestone|--- |Final --- Comment #31 from Marguerite Su <i@marguerite.su> 2013-11-20 05:59:34 UTC --- Hi, 13.1 still have the same problem. So there're still some issues in the code. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c32 Marguerite Su <i@marguerite.su> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #522790|0 |1 is obsolete| | --- Comment #32 from Marguerite Su <i@marguerite.su> 2013-11-20 07:56:57 UTC --- Created an attachment (id=568168) --> (http://bugzilla.novell.com/attachment.cgi?id=568168) yast2 refreshing repositories Now problem changed a little bit: Before in 12.3, the problem was: open YaST control-center-gnome, click "software management", when refreshing the repositories, the sw_single UI is Chinese, but after the refresh, the sw_single UI suddenly changed to English. But now the problem is: when refreshing the repositories, the UI is English, but after the refresh, the UI can display at least some Chinese. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c33 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |tgoettlicher@suse.com |ovo.novell.com | --- Comment #33 from Karl Eichwalder <ke@suse.com> 2013-11-20 09:07:03 CET --- Thomas, can you please check again (see c#21 and later). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c34 Marguerite Su <i@marguerite.su> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tgoettlicher@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #34 from Marguerite Su <i@marguerite.su> 2013-11-20 08:10:07 UTC --- And now it is a common problem (in 12.3, this kinda problem only affects sw_single module). If you start sw_single using `kdesu /sbin/yast2 sw_single`, the refreshing UI is Chinese (meanwhile it means `I finished my translation job`), but if you start it from y2control-center-gnome, the refreshing UI is English. what's worse, eg, runlevel module: If you start runlevel using `kdesu /sbin/yast2 runlevel`, everyhing is Chinese (refreshing, and after the refresh), but if you start it from y2control-center-gnome, everything is English. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c35 --- Comment #35 from Marguerite Su <i@marguerite.su> 2013-11-20 08:26:53 UTC --- Created an attachment (id=568180) --> (http://bugzilla.novell.com/attachment.cgi?id=568180) after the refresh For sw_single module only: It can only display "some" Chinese. eg: the "Find" is still English, the menu is almost all English but the "Apply" and "Exit" are Chinese. And I have our po files all translated: http://svn.opensuse.org/viewvc/opensuse-i18n/trunk/yast/zh_CN/po/gtk.zh_CN.po?revision=84868&view=markup eg: #: src/ygtkpkgmenubar.cc:736 msgid "&Cleanup when deleting packages" msgstr "删除软件包时清理(&C)" As those translations are in the same file which is 100% translated, it's a code problem, and it's not because eg: the code can't find the .mo file, because it can find "Apply" and "Exit" in the same .mo file. Same thing also happens to the previous refreshing UI. It doesn't mean y2control-center-gnome has problems that can't find .mo files for pkg-bindings, because the: #. 3 steps per repository (download, cache rebuild, load resolvables) #: src/Source_Load.cc:161 src/Source_Load.cc:483 src/Source_Set.cc:83 #: src/Target_Load.cc:74 src/Target_Load.cc:187 msgid "Loading the Package Manager..." msgstr "正在加载软件包管理器..." is actually displayed good, although it's the only Chinese text I can see from the refreshing UI. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c36 --- Comment #36 from Marguerite Su <i@marguerite.su> 2013-11-20 08:35:14 UTC --- Created an attachment (id=568182) --> (http://bugzilla.novell.com/attachment.cgi?id=568182) help text incomplete too help text is also incomplete too. eg: I searched the "spread-sheet" in the screenshot, which is now displayed in English, and I do have: http://svn.opensuse.org/viewvc/opensuse-i18n/trunk/yast/zh_CN/po/gtk.zh_CN.po?revision=84868&view=markup #: src/pkg-selector-help.cc:55 msgid "<h3>Search</h3><p>Enter free text into the search-field to match their names and descriptions. (a search for 'office' will bring up the 'LibreOffice' packages as well as 'AbiWord' which carries the word 'office' in its description). You can search for multiple keywords by separating the with a white space (e.g. 'spread sheet' would return 'libreoffice-calc').You may use the search combined with a filter, like searching for a package in a given repository. Other search attributes are provided, such as to search for a given file.</p>" msgstr "<h3>搜索</h3><p>可输入任意文本到搜索框来搜索匹配这个名称和描述的软件包。(搜索 'office' 会得到 'LibreOffice' 和 'Abiword',因为后者的描述中有关键词 'office')。您可通过空格分隔以搜索多个关键词 (例如,'spread sheet' 会返回 'libreoffice-calc')。您也可以结合过滤器使用搜索,比如在给定软件源中搜索某个软件包。也可以搜索其它属性,诸如某个给定文件。</p>" In my translation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c37 --- Comment #37 from Marguerite Su <i@marguerite.su> 2013-11-20 08:58:12 UTC --- so in short, we are suffering from two issues right now: 1. y2control-center-gnome can't load localized refreshing GUI for some modules eg runlevel. 2. the whole yast2 gnome displays translation partly, even if it does get a 100% translated .mo file. You can cs locale (Does our YaST team locate in Prague?) or any other translation-complete locale like de/ru/nl/it to verify it. full list here: http://i18n.opensuse.org/stats/trunk/toplist.php -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c Vladimir Moravec <vmoravec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmoravec@suse.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c Vladimir Moravec <vmoravec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|openSUSE 12.2 |openSUSE 13.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c38 --- Comment #38 from Takashi Iwai <tiwai@suse.com> 2013-11-26 17:12:45 UTC --- I checked 13.1 GNOME on KVM in Japanese locale, and at least, the problem of packager could be reproduced here, too. I guess this likely being a system level bug. OTOH, runlevel module was properly translated no matter whether gtk or kde or direct start. So, I guess this is rather the lack of Chinese translation. BTW, a complete translation lost is services-manager. services-manager.mo is missing, at least, for Japanese. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c39 --- Comment #39 from Marguerite Su <i@marguerite.su> 2013-11-27 03:52:44 UTC --- (In reply to comment #38)
I checked 13.1 GNOME on KVM in Japanese locale, and at least, the problem of packager could be reproduced here, too. I guess this likely being a system level bug.
OTOH, runlevel module was properly translated no matter whether gtk or kde or direct start. So, I guess this is rather the lack of Chinese translation.
BTW, a complete translation lost is services-manager. services-manager.mo is missing, at least, for Japanese.
1. Well, guess wrong... $ cat /usr/lib/YaST2/trans/zh_CN.status 100 $ ls /usr/share/YaST2/locale/zh_CN/LC_MESSAGES | grep runlevel runlevel.mo And I can see complete Chinese if start by `kdesu /sbin/yast2 runlevel` (not a problem with KDE, because I don't have libyui-qt flavors installed at all). 2. Because there's no services-manager.mo at all. One thing may mislead you is: The GUI translations in y2control-center-gnome is not from YaST, but from "desktop-translations" package. But the GUI translations for "Services Manager" is from YaST. And if you look through it carefully, the translations for services-manager doesn't even exist in svn. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c40 --- Comment #40 from Takashi Iwai <tiwai@suse.com> 2013-11-27 14:05:55 UTC --- Hrm, I can't reproduce the issue with runlevel module. It works fine here on GNOME even in zh_CN locale. (Though, some buttons like "Help" seem missing the translations there.) And yeah, I remember vaguely of the lack of services-manager translation from some time ago... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c42 --- Comment #42 from Ladislav Slezak <lslezak@suse.com> 2013-12-03 15:48:23 UTC --- I looked into the problem and found two separate issues: - the locale directory is not set properly (as mentioned in comment #18), Gtk UI searches translations in /usr/share/locale instead of /usr/share/YaST2/locale - the original gtk.pot file does not contain all translatable strings -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c43 --- Comment #43 from Ladislav Slezak <lslezak@suse.com> 2013-12-03 15:49:54 UTC --- The first problem I fixed in yast2-ycp-ui-bindings-3.0.2 (you can try the fix from https://build.opensuse.org/project/show/home:lslezak:branches:openSUSE:13.1:... (repo: http://download.opensuse.org/repositories/home:/lslezak:/branches:/openSUSE:...) I'll submit this as a maintenance update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c44 --- Comment #44 from Ladislav Slezak <lslezak@suse.com> 2013-12-03 15:56:46 UTC --- Created SR: https://build.opensuse.org/request/show/209309 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c45 --- Comment #45 from Ladislav Slezak <lslezak@suse.com> 2013-12-03 16:09:55 UTC --- The fix above fixes the problem only partly, it fixes missing translations in the Gtk UI, but some buttons (like "Help", "Apply", "Close"...) are still not translated. Here comes the second problem: the original gtk.pot file (http://svn.opensuse.org/svn/opensuse-i18n/trunk/yast/50-pot/gtk.pot) does not contain these button labels. I found out that actually all translations from libyui-gtk5 package are missing, there are only texts from libyui-gtk-pkg5 package. I think it was caused by conflict in the text domain, both packages use "gtk" text domain. It seems that the gtk.pot from libyui-gtk5 was overwritten by gtk.pot from libyui-gtk-pkg5 package when generating the POT files. BTW Qt UI uses "qt" and "qt-pkg" text domains to there is no conflict. Fortunately the previous translations are still kept in PO memory - at least for the Czech language, http://svn.opensuse.org/svn/opensuse-i18n/trunk/yast/cs/po/gtk.cs.po still contains commented translations for "Apply", "Close" "Cancel",... So it should be enough to merge the missing texts from libyui-gtk5 to gtk.pot, uncomment the missing translations in the po files and release updated packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c46 --- Comment #46 from Ladislav Slezak <lslezak@suse.com> 2013-12-03 16:11:24 UTC --- Created an attachment (id=570004) --> (http://bugzilla.novell.com/attachment.cgi?id=570004) Missing translations from libyui-gtk package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c47 Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |ke@suse.com --- Comment #47 from Ladislav Slezak <lslezak@suse.com> 2013-12-03 16:13:47 UTC --- Karl, could you merge the missing messages from the attached gtk.pot file and release updates for the translation packages as mentioned in comment #45? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c48 Marguerite Su <i@marguerite.su> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|ke@suse.com | --- Comment #48 from Marguerite Su <i@marguerite.su> 2013-12-03 16:17:54 UTC --- Hi, lslezak, Thanks for your pro fix! I can confirm the menu translation is back. I'll merge the pot you provide with my existing translations and feedback. And still one problem left: eg: Starting "software management" from YaST Administator Settings (not by clicking the "Install/Remove Software" in KickOff menu, but open YaST main GUI and click software management), is your loading menu English? I can only see one Chinese string there. Any hints? Marguerite -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c49 --- Comment #49 from Marguerite Su <i@marguerite.su> 2013-12-03 16:32:30 UTC --- I did: msgcat gtk.pot libyui-gtk.pot > allinone.pot msgmerge -U gtk.zh_CN.po allinone.pot translated them msgfmt gtk.zh_CN.po -o gtk.mo sudo cp -r gtk.mo /usr/share/YaST2/locale/zh_CN/LC_MESSAGES/ Now the "Back"/"Next"/"Help" are also back, but "Cancel"/"Apply" in the right bottom didn't. Tested by clicking "Install/Remove Software" in Kickoff menu (same effect with `sudo /sbin/yast2 sw_single`), and starting from Administrator Settings still give me an English loading menu. Marguerite -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c50 --- Comment #50 from Ladislav Slezak <lslezak@suse.com> 2013-12-03 16:41:58 UTC --- I'll check it... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c51 --- Comment #51 from Marguerite Su <i@marguerite.su> 2013-12-03 16:48:06 UTC --- Thanks, lslezak! You saved my life...every Chinese user was blaming me for not get openSUSE translated... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c52 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #52 from Benjamin Brunner <bbrunner@suse.com> 2013-12-09 15:03:50 CET --- Update released for openSUSE 13.1. Resolved fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801311 https://bugzilla.novell.com/show_bug.cgi?id=801311#c53 --- Comment #53 from Swamp Workflow Management <swamp@suse.de> 2013-12-09 15:04:59 UTC --- openSUSE-RU-2013:1845-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 801311 CVE References: Sources used: openSUSE 13.1 (src): yast2-ycp-ui-bindings-3.0.2-6.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com