← Back to team overview

gwibber-bugs team mailing list archive

[Bug 1052375] [NEW] The online account g-c-c interface doesn't support i18n

 

Public bug reported:

The online accounts UI loads the plugins integration from some
.application files. Those are not translated, not translatable.

What needs to be done, is:
- rename the .application in .application.in
- ensuring that upstream have an application.in files with translatable tags (using _, as in <_description>I want to be translated</_description>). Example [1]
- add a <translations> tag containing the upstream domain
- then, at build time:

1. Running intltool-extract files.applications.in so that it gets merged
into a files.applications.in.h file. If you are using intltool already
in your build system (and you probably are), this should be happening
already and you can skip to step 2.

2. Including the .in file somewhere in the build system (like
po/POTFILES.in for Python apps and Makefiles.am for C/vala apps) so that
it's merged into the .pot file. In Python, it's just a matter of adding
it as an extra line to the po/POTFILES.in file (example [2]):

[gettext/xml]data/gwibber.application.in

3. And running intltool-merge --no-translations -x -u foo.applications.in foo.application to create the xml upstream file which is shipped
- online-account (the g-c-c plugin) should be patched to load them, looking at the <translations> tag and gettext (package, string)

[1] http://bazaar.launchpad.net/~dpm/+junk/testintl/view/head:/data/gwibber.application.in
[2] http://bazaar.launchpad.net/~dpm/+junk/testintl/view/head:/po/POTFILES.in

** Affects: empathy
     Importance: Undecided
         Status: New

** Affects: gwibber
     Importance: Undecided
         Status: New

** Affects: online-accounts-gnome-control-center
     Importance: Undecided
         Status: New

** Affects: shotwell
     Importance: Undecided
         Status: New

** Affects: unity-lens-gdocs
     Importance: Undecided
         Status: New

** Affects: unity-lens-photos
     Importance: Undecided
         Status: New

** Affects: empathy (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: gnome-control-center-signon (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: gwibber (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: shotwell (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: unity-lens-photos (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: unity-scope-gdocs (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: empathy (Ubuntu Quantal)
     Importance: High
         Status: Confirmed

** Affects: gnome-control-center-signon (Ubuntu Quantal)
     Importance: High
         Status: Confirmed

** Affects: gwibber (Ubuntu Quantal)
     Importance: High
         Status: Confirmed

** Affects: shotwell (Ubuntu Quantal)
     Importance: High
         Status: Confirmed

** Affects: unity-lens-photos (Ubuntu Quantal)
     Importance: High
         Status: Confirmed

** Affects: unity-scope-gdocs (Ubuntu Quantal)
     Importance: High
         Status: Confirmed

** Also affects: gwibber (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: unity-lens-photos (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: unity-scope-gdocs (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: empathy (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: empathy
   Importance: Undecided
       Status: New

** Also affects: online-accounts-gnome-control-center
   Importance: Undecided
       Status: New

** Also affects: gwibber
   Importance: Undecided
       Status: New

** Also affects: unity-lens-photos
   Importance: Undecided
       Status: New

** Also affects: unity-lens-gdocs
   Importance: Undecided
       Status: New

** Also affects: shotwell (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: shotwell
   Importance: Undecided
       Status: New

** Summary changed:

- The g-c-c interface doesn't support i18n
+ The online account g-c-c interface doesn't support i18n

** Also affects: empathy (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Also affects: gwibber (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Also affects: shotwell (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Also affects: gnome-control-center-signon (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Also affects: unity-lens-photos (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Also affects: unity-scope-gdocs (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Changed in: shotwell (Ubuntu Quantal)
   Importance: Undecided => High

** Changed in: shotwell (Ubuntu Quantal)
       Status: New => Confirmed

** Changed in: shotwell (Ubuntu Quantal)
    Milestone: None => ubuntu-12.10-beta-2

** Changed in: unity-lens-photos (Ubuntu Quantal)
   Importance: Undecided => High

** Changed in: unity-lens-photos (Ubuntu Quantal)
       Status: New => Confirmed

** Changed in: unity-scope-gdocs (Ubuntu Quantal)
   Importance: Undecided => High

** Changed in: unity-scope-gdocs (Ubuntu Quantal)
       Status: New => Confirmed

** Changed in: gwibber (Ubuntu Quantal)
   Importance: Undecided => High

** Changed in: gwibber (Ubuntu Quantal)
       Status: New => Confirmed

** Changed in: gnome-control-center-signon (Ubuntu Quantal)
   Importance: Undecided => High

** Changed in: gnome-control-center-signon (Ubuntu Quantal)
       Status: New => Confirmed

** Changed in: empathy (Ubuntu Quantal)
   Importance: Undecided => High

** Changed in: empathy (Ubuntu Quantal)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/1052375

Title:
  The online account g-c-c interface doesn't support i18n

Status in Chat app, and Telepathy user interface:
  New
Status in Gwibber:
  New
Status in Online Accounts: GNOME Control Center:
  New
Status in Shotwell:
  New
Status in Google Documents Lens:
  New
Status in Photos Lens:
  New
Status in “empathy” package in Ubuntu:
  Confirmed
Status in “gnome-control-center-signon” package in Ubuntu:
  Confirmed
Status in “gwibber” package in Ubuntu:
  Confirmed
Status in “shotwell” package in Ubuntu:
  Confirmed
Status in “unity-lens-photos” package in Ubuntu:
  Confirmed
Status in “unity-scope-gdocs” package in Ubuntu:
  Confirmed
Status in “empathy” source package in Quantal:
  Confirmed
Status in “gnome-control-center-signon” source package in Quantal:
  Confirmed
Status in “gwibber” source package in Quantal:
  Confirmed
Status in “shotwell” source package in Quantal:
  Confirmed
Status in “unity-lens-photos” source package in Quantal:
  Confirmed
Status in “unity-scope-gdocs” source package in Quantal:
  Confirmed

Bug description:
  The online accounts UI loads the plugins integration from some
  .application files. Those are not translated, not translatable.

  What needs to be done, is:
  - rename the .application in .application.in
  - ensuring that upstream have an application.in files with translatable tags (using _, as in <_description>I want to be translated</_description>). Example [1]
  - add a <translations> tag containing the upstream domain
  - then, at build time:

  1. Running intltool-extract files.applications.in so that it gets
  merged into a files.applications.in.h file. If you are using intltool
  already in your build system (and you probably are), this should be
  happening already and you can skip to step 2.

  2. Including the .in file somewhere in the build system (like
  po/POTFILES.in for Python apps and Makefiles.am for C/vala apps) so
  that it's merged into the .pot file. In Python, it's just a matter of
  adding it as an extra line to the po/POTFILES.in file (example [2]):

  [gettext/xml]data/gwibber.application.in

  3. And running intltool-merge --no-translations -x -u foo.applications.in foo.application to create the xml upstream file which is shipped
  - online-account (the g-c-c plugin) should be patched to load them, looking at the <translations> tag and gettext (package, string)

  [1] http://bazaar.launchpad.net/~dpm/+junk/testintl/view/head:/data/gwibber.application.in
  [2] http://bazaar.launchpad.net/~dpm/+junk/testintl/view/head:/po/POTFILES.in

To manage notifications about this bug go to:
https://bugs.launchpad.net/empathy/+bug/1052375/+subscriptions


Follow ups

References