14.10: Gtk sometimes doesn't pickup translations in the about dialog

Bug #1375979 reported by Josef Andersson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Fix Released
High
Lars Karlitski

Bug Description

In 14.10: Gtk sometimes doesn't pickup translations in the general about dialog. Even though all strings for the general about dialog are translated in the gtk-packages, the general about dialog for certain programs still only shows the English language. See attached screenshots in zip. Tested in Swedish and Spanish translations, which both have the gtk-packages translated. So it seems to be a general error, and not a language-specific one.

To reproduce:
1) Observe in launchpad, or any other way you like, that the gtk-packages are translated, for example, in Swedish and Spanish.
2) Install the languages in the language support in latest 14.10
3) Change to another language, and look in the about dialogs in, for example, Rhytmbox and Disks - they aren't translated altough they should be. In, for example, Gparted, they are Ok.

Tags: l10n utopic

Related branches

Revision history for this message
Josef Andersson (northar) wrote :
description: updated
description: updated
Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

According to your screenshots, the problem affects Gtk+ 3-based programs.

affects: ubuntu → gtk+3.0 (Ubuntu)
tags: added: l10n utopic
removed: gtk translations
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Possibly there is a problem with
https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html

(Rhythmbox makes use of gtk_show_about_dialog() for constructing the window.)

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/utopic/rhythmbox/utopic/view/head:/shell/rb-application.c

Lars Karlitski (larsu)
no longer affects: ubuntu-translations
Changed in gtk+3.0 (Ubuntu):
status: New → In Progress
assignee: nobody → Lars Uebernickel (larsu)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+3.0 - 3.12.2-0ubuntu10

---------------
gtk+3.0 (3.12.2-0ubuntu10) utopic; urgency=medium

  [ Lars Uebernickel ]
  * gtkaboutdialog-support-showing-buttons-in-action-are.patch:
    - mark button titles as translatable (lp: #1375979)
 -- Sebastien Bacher <email address hidden> Wed, 01 Oct 2014 17:36:18 +0200

Changed in gtk+3.0 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Josef Andersson (northar) wrote :

Updated to latest and dpkg -s libgtk-3-0 tells me Version: 3.12.2-0ubuntu10.

In RhytmBox about-dialog, Close-button is now correctly translated. However Credits and License buttons are still untranslated, so I guess this bug is halfway solved.

Revision history for this message
Josef Andersson (northar) wrote :

As the fix didn't work fully see #5, should I file a new bug report, or should this be reopen?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

"C_redits" and "_License" are new translatable strings.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

OTOH they should be included in the new translation template, at least, but for some reason they are not.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

From the #ubuntu-desktop IRC channel today:

[15:36] <GunnarHj> Somebody who can help with a gtk+3.0 translation issue?
[15:36] <GunnarHj> The new translatable strings due to https://launchpad.net/ubuntu/+source/gtk+3.0/3.12.2-0ubuntu10 seem not to have made it to the translation template. Shouldn't it be updated automatically at upload, or do you need to take some additional step?
[15:39] <GunnarHj> larsu: ^
=== mhall119_ is now known as mhall119
[15:46] <larsu> GunnarHj: seb128 told me it'll be updated automatically. I'm afraid I don't know more about it than that...
[15:46] <larsu> Laney maybe?
[15:47] <Laney> erm
[15:47] <Laney> I don't know much about that stuff
[15:47] <larsu> do you know who might?
[15:47] <larsu> seb128 is out for the day
[15:48] <Laney> dunno, pitti maybe, but I'm sure it can wait
[15:48] <larsu> right
[15:48] <GunnarHj> Will seb128 be back tomorrow?
[15:48] <Laney> should be
[15:48] <GunnarHj> Ok.

I think IRC is more efficient in this case compared to re-opening this bug or filing a new one.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The template has been updated and gtk got a workaround in its utopic package and a fix upstream that should make building the template easier next cycle

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks Sebastien!

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.