Your message dated Thu, 10 May 2018 10:10:50 -0300
with message-id <2547574.Ghefh4RWOI@tonks>
and subject line Re: Bug#898326: qttranslations5-l10n: Bad spanish translation
files
has caused the Debian Bug report #898326,
regarding qttranslations5-l10n: Bad spanish translation files
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
898326: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898326
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: qttranslations5-l10n
Version: 5.7.1~20161021-1
Severity: normal
The Spanish translation files dont work.
If you try to use in a code like this:
locale = QtCore.QLocale.system().name()
qtTranslator = QtCore.QTranslator()
path = QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.TranslationsPath)
if qtTranslator.load("qt_" + locale, path):
app.installTranslator(qtTranslator)
The spanish translation of qt widgets don't show, trying with another locales
work, like japanese or german.
The files in packages reveal different structure for spanish translation:
$ ls /usr/share/qt5/translations/ | grep _de.qm
assistant_de.qm
designer_de.qm
linguist_de.qm
qscintilla_de.qm
qtbase_de.qm
qtconnectivity_de.qm
qtdeclarative_de.qm
qt_de.qm
qt_help_de.qm
qtlocation_de.qm
qtmultimedia_de.qm
qtquick1_de.qm
qtquickcontrols_de.qm
qtscript_de.qm
qtserialport_de.qm
qtwebengine_de.qm
qtwebsockets_de.qm
qtxmlpatterns_de.qm
ls /usr/share/qt5/translations/ | grep _es.qm
qt_es.qm
And the contents are like outdated in this file.
Trying to use the files in arch package:
https://www.archlinux.org/packages/extra/any/qt5-translations/
root@hp:/home/jjgomera/Descargas/qt5-translations-5.10.1-1-any.pkg/usr/share/qt/translations#
mv /usr/share/qt5/translations/qt_es.qm
/usr/share/qt5/translations/qt_es_back.qm
root@hp:/home/jjgomera/Descargas/qt5-translations-5.10.1-1-any.pkg/usr/share/qt/translations#
cp *_es.qm /usr/share/qt5/translations/
This files do the translation and the code above show now qt messages in
correct spanish translation.
-- System Information:
Debian Release: 9.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8),
LANGUAGE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 5.10.1-2
¡Hola Juan José!
El jueves, 10 de mayo de 2018 06:40:14 -03 Juan José Gómez escribió:
> Package: qttranslations5-l10n
> Version: 5.7.1~20161021-1
> Severity: normal
>
> The Spanish translation files dont work.
They simply do not exist. By the time 5.7.1 was released there was no complete
spanish translation. I'm afraid nothing we can do here.
This should be fixed in the testing version of Qt (and even some previous
one), so closing with this version.
Kinds regards, Lisandro.
--
8: Si un archivo ha pasado a la "Papelera de Reciclaje"
* Ud tiene una carpeta llamada "Papelera de Reciclaje"
Damian Nadales
http://mx.grulic.org.ar/lurker/message/20080307.141449.a70fb2fc.es.html
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.
--- End Message ---