[Python-modules-team] Bug#720342: [python-sphinxcontrib.spelling] Impossible to use another than en language

Slavko linux at slavino.sk
Tue Aug 20 18:08:47 UTC 2013


Package: python-sphinxcontrib.spelling
Version: 1.4-1
Severity: normal
Tags: patch

Hi,

there is a problem with using (defining) another language than "en",
because the same variable is used to load the tokenizer and for
dictionary, but the python-enchant package has only the "en.py"
tokenizer, which is good for other languages (at least for Slovak) too.

Setting to "en" language works, but wrong dictionary is used ;-)

There is small patch to fallback into "en" tokenizer, when no one exists
for defined language.

Regards

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.10-2-amd64

Debian Release: jessie/sid

--- Package information. ---
Depends               (Version) | Installed
===============================-+-============
python                          | 2.7.5-2
python-support      (>= 0.90.0) | 1.0.15
python-docutils                 | 0.10-3
python-enchant                  | 1.6.5-2
python-sphinx                   | 1.1.3+dfsg-8


-- 
Slavko
http://slavino.sk



-------------- next part --------------
A non-text attachment was scrubbed...
Name: spelling_en_fallback.patch
Type: text/x-diff
Size: 642 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20130820/d1f58b93/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20130820/d1f58b93/attachment.sig>


More information about the Python-modules-team mailing list