itkach / slob

Data store for Aard 2
GNU General Public License v3.0
241 stars 32 forks source link

Feature Request: Babylon .bgl to slob #28

Closed azrdev closed 5 years ago

azrdev commented 5 years ago

On desktop, I'm happily using GoldenDict with the free babylon dictionaries for translation, and I'd like to use these with Aaard2 on mobile too. AIUI there is no converter yet from bgl to slob, correct? Maybe the easiest way to write one would be based on the BGL/Babylon_BGL parsing code of goldendict.

itkach commented 5 years ago

Quick search turns up https://github.com/ilius/pyglossary. Looks like it should be able to read .bgl and write .slob. Give it a try?

azrdev commented 5 years ago

Thanks for that idea, works like a charm! I only had to build pyglossary from master (https://github.com/ilius/pyglossary/commit/ccbae3aa8c367e19c9144410a3e303b3e219c105 actually) because slob support is so new (https://github.com/ilius/pyglossary/issues/116) and not released yet.

Would you mind mentioning this somehow on https://github.com/itkach/slob/wiki/Dictionaries ?

itkach commented 5 years ago

Great!

Would you mind mentioning this somehow on https://github.com/itkach/slob/wiki/Dictionaries ?

Updated README (since that's where the links to other converters are)