Help file isn't localizable

Bug #439353 reported by Matthew Paul Thomas
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: software-center

Currently there is no .pot file for the help file, so it cannot be localized.

To fix this, the software-center Makefile needs to do something like this:

    xml2po -k software-center.xml legal.xml > software-center.pot

Then once it has been translated, to convert a .po translation into the equivalent .xml file:

    xml2po -p LANGUAGE-CODE.po software-center.xml > ../LANGUAGE-CODE/software-center.xml
    xml2po -p LANGUAGE-CODE.po legal.xml > ../LANGUAGE-CODE/legal.xml

To automate this further, Launchpad is able to commit automatically to a translations branch, which could be merged to and from the mainline branch.

[Thanks to Danilo Šegan for demonstrating this process.]

Tags: i18n
Andrew (and471)
Changed in software-center (Ubuntu):
status: New → Confirmed
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
importance: Undecided → Medium
Bruno (bruno666-666)
tags: added: i18n
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
milestone: none → later
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
milestone: later → lucid-alpha-2
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
milestone: lucid-alpha-2 → ubuntu-10.04-beta-1
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: Confirmed → Fix Committed
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 1.1.13

---------------
software-center (1.1.13) lucid; urgency=low

  [ Michael Vogt ]
  * data/featured.menu.in:
    - add scribus, blender
    - fix missing i18n
  * data/software-center.menu.in:
    - add a bunch of missing _
  * softwarecenter/backend/aptd.py:
    - fix cache reload functionality
    - fix display of update/external transactions (LP: #514861)
  * po/help/po4a.conf:
    - make help translatable via po4a (LP: #439353)
  * po/help/software-center-doc.pot:
    - add help pot
  * setup.py:
    - build help translations automatically

  [ Gary Lasker ]
  * softwarecenter/view/viewswitcher.py:
    - fix ValueError in on_transactions_changed (LP: #523420)
    - fix AttributeError in do_render (LP: #523341)
  * softwarecenter/view/installedpane.py:
    - fix AttributeError in refresh_apps() (LP: #520097)
  * softwarecenter/view/widgets/pathbar2.py:
    - fix typo in PathBarThemeHumanClearlooks class,
      gave an AttributeError in __expose_cb() (LP: #523452)
  * softwarecenter/app.py,
    softwarecenter/backend/aptd.py:
    - update to use new backend reload API (LP: #496058)
 -- Michael Vogt <email address hidden> Tue, 23 Feb 2010 15:29:53 +0100

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
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.