[Python-apps-team] Bug#810989: itstool: Itstool fails to translate xml attributes, when unicode character is used

Guillaume Bernard contact.guib at laposte.net
Thu Jan 14 16:11:51 UTC 2016


Package: itstool
Version: 2.0.2-2
Severity: grave
Tags: patch
Justification: renders package unusable

When trying to translate strings from English to another langage, itstool fails
because unicode character where used in the translation file (.mo).
As mainly every langage except english uses unicode characters, the package
is unusable.

A fix has been published on the official Github page :
https://github.com/itstool/itstool/commit/6f1761d86b4749a65607d4b4af622f6771e1f330

The issue also affects Debian Jessie and Debian Sid.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages itstool depends on:
ii  python          2.7.11-1
ii  python-libxml2  2.9.3+dfsg1-1

itstool recommends no packages.

itstool suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-UTF-8handlingfortranslatedattributes.patch
Type: text/x-diff
Size: 4311 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20160114/9ef19c37/attachment.patch>


More information about the Python-apps-team mailing list