A tool for converting dictionary files aka glossaries. Mainly to help use our offline glossaries in any Open Source dictionary we like on any modern operating system / device.
This is a very good project, keep on it!
I just translated a dictionary from BGL to AppleDict, and I had to look at the code to figure out some things.
In the README you have a command like this: pyglossary.pyw --read-options=resPath=OtherResources dict.BGL dict.xml. But it actually tries to convert it to XDXF format (I just assume this is correct, I do not know anything about that format). So I figured out I should explicit the write format and I had to look at the code to find the string I had to use: --write-format=AppleDict.
Perhaps you could add the exact wording for read/write format options in the README or --help option, because AppleDict Source (xml) is misleading.
And also, please update the readme to pyglossary.pyw --read-options=resPath=OtherResources --write-format=AppleDict dict.BGL dict.xml.
This is a very good project, keep on it! I just translated a dictionary from BGL to AppleDict, and I had to look at the code to figure out some things. In the README you have a command like this:
pyglossary.pyw --read-options=resPath=OtherResources dict.BGL dict.xml
. But it actually tries to convert it to XDXF format (I just assume this is correct, I do not know anything about that format). So I figured out I should explicit the write format and I had to look at the code to find the string I had to use:--write-format=AppleDict
. Perhaps you could add the exact wording for read/write format options in the README or--help
option, becauseAppleDict Source (xml)
is misleading.And also, please update the readme to
pyglossary.pyw --read-options=resPath=OtherResources --write-format=AppleDict dict.BGL dict.xml
.