[Bug 900863] New: [Factory 20141007] Gnome Control Center main overview translations not working
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 Bug ID: 900863 Summary: [Factory 20141007] Gnome Control Center main overview translations not working Classification: openSUSE Product: openSUSE Factory Version: 13.2 Beta 1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Translations Assignee: ke@suse.com Reporter: sb56637@gmail.com QA Contact: ke@suse.com Found By: --- Blocker: --- Hi there, I installed openSUSE Factory Gnome from a live USB today in en_US locale. Then I used YaST to install additional Spanish language packs. After changing the language of Gnome and rebooting, almost everything is translated into Spanish except for the main overview screen of Gnome Control Center. The control modules themselves are translated, but not the overview icon names "Mouse", "Keyboard", "Sound" etc. Additionally, the Activities Overview program descriptions are also not being translated into Spanish. Thanks for the help! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |bnc-team-gnome@forge.provo. | |novell.com, ke@suse.com, | |sbrabec@suse.com Flags| |needinfo?(bnc-team-gnome@fo | |rge.provo.novell.com) --- Comment #1 from Karl Eichwalder <ke@suse.com> --- Gnome team, is there a general problem with those strings? We used to translate such strings via the update-desktop-files mechanism. Wondering whether these tools still work for Gnome? Before reassigning I'll rebuild the desktop files. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #2 from Karl Eichwalder <ke@suse.com> --- In the es files, we have strings as follows: #: /usr/share/applications/gnome-sound-panel.desktop msgctxt "Name(gnome-sound-panel.desktop)" msgid "Sound" msgstr "Sonido" Are these the overview icon names? I'll now update the desktop-translations package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #3 from Karl Eichwalder <ke@suse.com> --- (In reply to Karl Eichwalder from comment #2)
In the es files, we have strings as follows:
#: /usr/share/applications/gnome-sound-panel.desktop msgctxt "Name(gnome-sound-panel.desktop)" msgid "Sound" msgstr "Sonido"
Are these the overview icon names?
I'll now update the desktop-translations package.
It is already in, at least since last week. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #4 from Rahim Barbamas <sb56637@gmail.com> --- Hi Karl, thanks very much for looking into this! Much appreciated. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org Flags|needinfo?(bnc-team-gnome@fo | |rge.provo.novell.com) | --- Comment #5 from Dominique Leuenberger <dimstar@opensuse.org> --- Created attachment 609820 --> http://bugzilla.opensuse.org/attachment.cgi?id=609820&action=edit My g-c-c, started with LANG=es Seems my g-c-c translates just fine, when started using LANG=es gnome-control-center @Karl: yes, the update-translation packages is still the way to go (I'm wondering though if we also feedback our updated translations to upstream? Or if we actuall have an overview of which translations we have, which are missing upstream). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #6 from Stanislav Brabec <sbrabec@suse.com> --- Is the desktop-translations package part of the live USB stick? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sb56637@gmail.com Flags| |needinfo?(sb56637@gmail.com | |) --- Comment #7 from Karl Eichwalder <ke@suse.com> --- Dominique, thanks for confirmation. I think, Stanislav offers our translation efforts from time to time to upstream. Rahim, please see Stanislav's question. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #8 from Stanislav Brabec <sbrabec@suse.com> --- Karl: It would be very hard to push desktop-translations upstream. Strings in this project would have to be split to hundreds of subsets of two or three strings and post these translations to particulart projects. Often on per-language basis. Even much simpler things are hard to upstream. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #9 from Rahim Barbamas <sb56637@gmail.com> --- @Stanislav: Ah, nice catch! That was it. The "desktop-translations" package fixed the Gnome Control Center icon names. However, the descriptions of the Control Center modules in the Activities overview are still untranslated. I would also say that there is a bug with the YaST Languages module, which should install the "desktop-translations" package if additional languages are added. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(sb56637@gmail.com | |) | --- Comment #10 from Karl Eichwalder <ke@suse.com> --- (In reply to Stanislav Brabec from comment #8)
Karl: It would be very hard to push desktop-translations upstream. Strings in this project would have to be split to hundreds of subsets of two or three strings and post these translations to particulart projects. Often on per-language basis.
Ok, I see. Pushing those things upstream does not scale. We must find a pull model. We'd better provide the upstream translators (or project maintainers) with a tool that allows them to _fetch_ the translations from our "translation memories". This would be a nice hackweek project ;) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(sb56637@gmail.com | |) --- Comment #11 from Karl Eichwalder <ke@suse.com> --- (In reply to Rahim Barbamas from comment #9)
@Stanislav: Ah, nice catch! That was it. The "desktop-translations" package fixed the Gnome Control Center icon names. However, the descriptions of the Control Center modules in the Activities overview are still untranslated.
Without the exact text I cannot grep for these strings. ATM, I do not have an up-to-date 13.2-RCx installation on my workstation...
I would also say that there is a bug with the YaST Languages module, which should install the "desktop-translations" package if additional languages are added.
This sounds like a bug. Can you please enter it separately into bugzilla? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #12 from Rahim Barbamas <sb56637@gmail.com> --- (In reply to Karl Eichwalder from comment #11)
Without the exact text I cannot grep for these strings. ATM, I do not have an up-to-date 13.2-RCx installation on my workstation...
Sure, the "Sound" module for the Gnome Control Center (not the YaST sound one) is described as "Change sound levels, inputs, outputs, and alert sounds". The "Privacy" module says "Protect your personal information and control what others might see".
I would also say that there is a bug with the YaST Languages module, which should install the "desktop-translations" package if additional languages are added.
This sounds like a bug. Can you please enter it separately into bugzilla?
Sure. Bug #901130 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #13 from Dominique Leuenberger <dimstar@opensuse.org> --- Those translations are in the .desktop files; can you please ensure you have gnome-control-center 3.14.0? gnome-sound-panel.desktop has, for spanish: Comment[es]=Cambiar el volumen de entrada y salida de sonido y las alertas sonoras gnome-privacy-panel.desktop has, for spanish: Comment[es]=Proteger su información personal y controlar qué pueden ver otros -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #14 from Karl Eichwalder <ke@suse.com> --- (In reply to Dominique Leuenberger from comment #13)
Those translations are in the .desktop files; can you please ensure you have gnome-control-center 3.14.0?
gnome-sound-panel.desktop has, for spanish: Comment[es]=Cambiar el volumen de entrada y salida de sonido y las alertas sonoras
gnome-privacy-panel.desktop has, for spanish: Comment[es]=Proteger su información personal y controlar qué pueden ver otros
Yes, we also have it in our update-desktop-files*. From the translation POV it looks ok. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #15 from Karl Eichwalder <ke@suse.com> --- (In reply to Rahim Barbamas from comment #12)
I would also say that there is a bug with the YaST Languages module, which should install the "desktop-translations" package if additional languages are added.
This sounds like a bug. Can you please enter it separately into bugzilla?
Sure. Bug #901130
Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #16 from Rahim Barbamas <sb56637@gmail.com> --- Yep, it's gnome-control-center 3.14.0-2.1. Upon examing /usr/share/applications/gnome-sound-panel.desktop, I notice that there are indeed translations for the "Keywords" (I imagine these are triggers for the Gnome Shell search results), but the actual "Comment[es]=" entry does not exist for Spanish or any other languages. That's probably the source of this bug? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(sb56637@gmail.com | |) | --- Comment #17 from Dominique Leuenberger <dimstar@opensuse.org> --- Ok, there is something utterly wrong: If I get gnome-control-center binaries from GNOME:Factory, then the .desktop file for gnome-sound-panel is properly translated. If I get the one for openSUSE:Factory or openSUSE:13.2, it is not. Happy chasing I would say. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #18 from Karl Eichwalder <ke@suse.com> --- (In reply to Dominique Leuenberger from comment #17)
Ok, there is something utterly wrong:
If I get gnome-control-center binaries from GNOME:Factory, then the .desktop file for gnome-sound-panel is properly translated. If I get the one for openSUSE:Factory or openSUSE:13.2, it is not.
Happy chasing I would say.
I'd say that's ok (at least for o:F). On openSUSE/SUSE Linux those translations are considered to be read with gettext from the .mo file coming with desktop-translations*. I think this worked in the past. Maybe, a patch got lost? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #19 from Dominique Leuenberger <dimstar@opensuse.org> --- I'd say not ok: I would expect the same result in GNOME:Factory as I can hopefuly expect in openSUSE:Factory; it's the same package source after all. Quiet strange imho to take translations out of the .desktop files and offload this to .mo files; where you have to worry about all kind of gettext domains in plus. Neither in gnome-shell on openSUSE 12.3, not 13.1 did we have any patches for that. And the overview screen in quesiton is gnome-shell, reading the .desktop files. Making an assumption that this would end up somewhere else is quite bad. As for the hunting: openSUSE:Factory buildlog contains LC_ALL=C /usr/bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po gnome-power-panel.desktop.in gnome-power-panel.desktop Found cached translation database Merging translations into gnome-power-panel.desktop. => Upstream has all those strings translated... we should only fixup stuff they miss, not mess with the upstream translations. whereas GNOME:Factory buildlog contains: LC_ALL=C /usr/bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po gnome-power-panel.desktop.in gnome-power-panel.desktop (whithout the 'Found cached translation database' output) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #20 from Dominique Leuenberger <dimstar@opensuse.org> --- Just for reference: GNOME 3.14 has a 99% completeness for spanish translations: https://l10n.gnome.org/languages/es/gnome-3-14/ui/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 --- Comment #21 from Dominique Leuenberger <dimstar@opensuse.org> --- Interesting piece in openSUSE:Factory prjconf: # trim the desktop files when building directly in factory %if "%_project" == "openSUSE:Factory" || "%_project" == "openSUSE:Factory:PowerPC" || "%_project" == "openSUSE:Factory:ARM" || "%_project" == "openSUSE:Factory:Rebuild" Support: brp-trim-desktopfiles rpmlint-Factory-strict %endif -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(coolo@suse.com) --- Comment #23 from Karl Eichwalder <ke@suse.com> --- I guess if you do not want this feature, you must avoid update-desktop-files in your spec files. I fear I cannot fix this. coolo, what is your recommendation, please? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900863 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #24 from Karl Eichwalder <ke@suse.com> ---
From my POV, it is done. If you still want to work on this feature, please clone it an assign it to yourself.
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com