Page 1 of 1

BUG: GD has problems with Babylon Premium Duden BGLs

PostPosted: Sun Jun 10, 2012 9:25 pm
by john_kaufi
Hi there.

I just indexed the German Duden bgls and it seems that words including the following letters ä, ö, ü are not shown correctly.

For example Gläschen is shown as Gläschen in the index list.

This issue applies to the mobile version as well.

Though, best dictionary managing software I have ever seen! Thanks again guys!

Re: BUG: GD has problems with Babylon Premium Duden BGLs

PostPosted: Sun Aug 05, 2012 12:16 am
by chulai
Hi,

This is an example of a malformed dictionary. It was created with the html entities where it shouldn't be. The problem is not in GoldenDict. In fact Babylon shows the same issue. Check the screenshots:

GoldenDict & Babylon - Glaschen no html entities no result.png
GoldenDict & Babylon - Glaschen no html entities no result
GoldenDict & Babylon - Glaschen no html entities no result.png (249.07 KiB) Viewed 12264 times

GoldenDict & Babylon - Glaschen with html entities shows in result.png
GoldenDict & Babylon - Glaschen with html entities shows in result
GoldenDict & Babylon - Glaschen with html entities shows in result.png (356.16 KiB) Viewed 12264 times


All that said, I'm trying to do a fix in GoldenDict for dictionaries with html entities:
https://github.com/goldendict/goldendict/issues/53

Hopefully we could find a workaround. In the meantime you could use a tool such as UnpackBgl to extract a GLS file. This file is just a text file you can open in any text editor and do a find an replace of the html entities for the character you want. Then this corrected GLS file can be the input of the Babylon Glossary Builder program.
I'm not including any link here because I'm not sure of the legal status of these tools but you can find them for free by doing a search in Google. Good Luck!

Re: BUG: GD has problems with Babylon Premium Duden BGLs

PostPosted: Sun Aug 05, 2012 10:01 pm
by john_kaufi
Cheers chulai.

I will have a look at it when I have some more spare time!

All the best!
John