Opened 8 years ago

Last modified 8 years ago

#105 new defect

CoolReader 3.1.2 no display of cyrillic characters

Reported by: ak120 Owned by:
Priority: Feedback Pending Component: qtapps
Version: Keywords:
Cc:

Description

Russian translation of UI works fine, but it's not possible to display an *.fb2 document containing cyrillic letters. They are replaced by "?".

Attachments (3)

Eingefangen001.jpg (78.6 KB) - added by Silvan Scherrer 8 years ago.
to proove it
cr3.ico (6.8 KB) - added by ak120 8 years ago.
Symbol mit durchsichtigem Hintergrund
cr3_de.qm (55.8 KB) - added by ak120 8 years ago.
vollständige deutsche Sprachanpassung

Download all attachments as: .zip

Change History (19)

comment:1 Changed 8 years ago by ak120

I can confirm the same behaviour for all supported file formats (text, html, etc.) with cyrillic content.

comment:2 Changed 8 years ago by Silvan Scherrer

try on other platform to see if it work there.

comment:3 Changed 8 years ago by ak120

Why scepticism about a russian program? There's no problem with font display under Windows. http://a.fsdn.com/con/app/proj/crengine/screenshots/186793.jpg

comment:4 Changed 8 years ago by Silvan Scherrer

Priority: majorFeedback Pending

if you would provide a link with such a document, I could look at it. or even better attach it to the ticket.

comment:5 Changed 8 years ago by ak120

You could simply try to open the text file for russian translation of coolreader3 located in src/i18n/cr3_ru.ts for example. I was first also thinking it's only a problem with a special file. But it doesn't matter which format (html, plain text, epub) or encoding (utf8, ibm866) everytime only question marks. Unfortunately attaching files is giving strange errors here on this website.

comment:6 Changed 8 years ago by Silvan Scherrer

Unfortunately for you I see all Cyrillic as well. This might be because of the installed fonts, I don't know. Or because I have eCS, which installs some more fonts. It might also be because I have everything installed with YUM/RPM, so fontconfig works like it should.

Changed 8 years ago by Silvan Scherrer

Attachment: Eingefangen001.jpg added

to proove it

comment:7 Changed 8 years ago by ak120

Gut, ich habe das Fehlverhalten nun etwas besser eingrenzen können. Wenn ich über den Einstellungsdialog (F9) die Schriftart ändere bleibt das Anzeigefenster vollständig leer. Nachdem das Programm beendet und wieder gestartet wurde, ist nun auch die Darstellung kyrillischer Zeichen möglich. Leider führt auch das einfache Ändern der Schriftgröße (also ohne Umstellung der verwendeten Schriftart) im Einstellungsdialog zu diesem Verhalten, und zwar unabhängig von dem eingelesenen Dateiformat.

comment:8 Changed 8 years ago by Silvan Scherrer

And you are 100% sure on other platforms it does not behave like this? I doubt that.

comment:9 Changed 8 years ago by ak120

Bevor ich hier eine Antwort hinterlasse, kann man es als vorausgesetzt betrachten, daß zumindest unter Linux und Windows eine Prüfung vorgenommen wurde. Dort muß das Programm nicht erst beendet und erneut ausgeführt werden, um eine Änderung der Schriftgröße oder -art im Anzeigefenster zu bewerkstelligen.

Changed 8 years ago by ak120

Attachment: cr3.ico added

Symbol mit durchsichtigem Hintergrund

comment:10 Changed 8 years ago by ak120

Wo finde ich eine Grundlage zur Erstellung einer vollständigen *.ts-Datei aus den im Programm verwendeten Ressourcen?

comment:11 Changed 8 years ago by Silvan Scherrer

the qm file is not what I need of course, as the qm files are generated out of the ts files.

I could also write: "Bevor ich hier eine Antwort hinterlasse, kann man es als vorausgesetzt betrachten, daß wer weiss wie man eine qm Datei erstellt, auch weiss dass die ts Dateien benötigt werden."

I'm really sorry, but those comments are absolutely not necessary. I try to help, but the more such nice comments are here, the more I start to ignore those people.

comment:12 Changed 8 years ago by Silvan Scherrer

icon added, next drop will include it.

to create the .ts files you need the whole source and lupdate from the Qt package to create the .qm files you need the .ts files and lrelease from the Qt package

the .ts files are available on request. Even it would make a lot more sense to report/send the fresh translations upstream.

comment:13 Changed 8 years ago by ak120

Das Problem mit den nicht mehr vorhandenen Inhalten im Darstellungsfenster nach dem Aufruf der Einstellungen (F9) tritt reproduzierbar bei jeder kleinen Modifikation auf - also nicht nur bei Änderung der Schriftart, sondern auch bei Optionen, welche nicht die eigentliche Anzeige beeinflussen.

"... daß wer weiss wie man eine qm Datei erstellt, auch weiss dass die ts Dateien benötigt werden."

Deshalb fragte ich nach einer Möglichkeit die zugrundeliegende *.ts-Datei aus der cr3.exe zu erstellen, da die *_de.ts-Datei aus den Quellen von SourceForge? anscheinend noch auf einer früheren Programmversion basiert und nicht alle Zeichenketten erhält.

Nur wohin aufwärts soll ich die Übersetzung schicken?

comment:14 Changed 8 years ago by Silvan Scherrer

If you insist in writing German, I will just stop to help you. As others non German speaking people might read and try to help also.

And upstream always means to the original Author.

Last edited 8 years ago by Silvan Scherrer (previous) (diff)

comment:15 Changed 8 years ago by ak120

Dziękuję bardzo! Mir war nicht bewußt, daß es hier so weitreichende Einschränkungen hinsichtlich der Verwendung bestimmter Sprachen gibt. Leider konnte ich auch auf diesen Seiten keine entsprechenden Richtlinien und Maßregelungen zu erlaubten Sprachen finden. Da mir nicht zu jeder Zeit ein Übersetzer zur Verfügung steht, ist es teilweise schwierig komplexere Zusammenhänge in fremden Sprachen und Dialekten hinreichend darzulegen. Mittels verfügbarer elektronischer Übersetzungsdienste kann jeder meine Schriften in eine ihm genehme Sprache übersetzen lassen.

Changed 8 years ago by ak120

Attachment: cr3_de.qm added

vollständige deutsche Sprachanpassung

comment:16 Changed 8 years ago by ak120

will open a new ticket for the issue with settings windows

Note: See TracTickets for help on using tickets.