ilius / pyglossary

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.
GNU General Public License v3.0
2.23k stars 237 forks source link

README #4

Closed kuukiichanXU closed 11 years ago

kuukiichanXU commented 11 years ago

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.

xiaoqiangwang commented 11 years ago

Corrected in commit 70bf82279c327bc7034852eac51de3a5068edbcf

ilius commented 11 years ago

Thank you both :) That was fast, xiaoqiangwang