harrynull / WoxDictionary

A Wox dictionary plugin that supports spelling correction and synonym.
http://www.wox.one/plugin/184
GNU Lesser General Public License v3.0
189 stars 19 forks source link

Not working after installation through Wox package manager #5

Closed WilCleaveland closed 5 years ago

WilCleaveland commented 5 years ago

I can't get this plugin to work at all. I installed through the Wox package manager, entered my API key for Bighugelabs, and then restarted Wox.

When I try to trigger with 'd' and type a word, nothing happens.

What have I missed or done wrong? Thank you!

harrynull commented 5 years ago

Have you copied ecdict.db to C:\Users\{your_user_name}\AppData\Roaming\Wox\Plugins\Dictionary-{random_characters}\dicts ? You need to download and uncompress that manually.

WilCleaveland commented 5 years ago

Ok, I just downloaded that, extracted, and changed the file extension from .7z to .db. Then I put it in the folder you specified and restarted Wox.

Still nothing. :(

I haven't gotten my own ICIBAToken, because I don't need Chinese translation. Could that be the problem?

I went ahead and tried generating and ICIBAToken, but it still doesn't work.

harrynull commented 5 years ago

Don't change the file extension. Instead, extract that .7z file, and you will get ecdict.db.

WilCleaveland commented 5 years ago

Ah, I'm so dumb. Sorry, brand new Windows user after using OSX for years. Been a long time since I saw a .7z file or understood that I still had to extract it after unzipping the parent folder.

Everything is working now, and this plugin ROCKS! Thank you so much for putting it together!

WilCleaveland commented 5 years ago

One more quick question: When I do synonyms, is this showing the Chinese translation? What would be necessary to tweak the plugin so it shows an English definition for the synonym instead? image

harrynull commented 5 years ago

Yes, you do need to change the plugin a little bit to show English definition. The related code is located at Dictionary.cs#L231. Or, if you don't want to change the code, you can press enter to search for that highlighted synonyms instead.

WilCleaveland commented 5 years ago

Thank you! I'll see if I can figure out how to tweak the code. Really appreciate all your help and support on this! :)

harrynull commented 5 years ago

You're welcome :)

Wil Cleaveland notifications@github.com 于2019年2月26日周二 下午9:05写道:

Thank you! I'll see if I can figure out how to tweak the code. Really appreciate all your help and support on this! :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/harrynull/WoxDictionary/issues/5#issuecomment-467430125, or mute the thread https://github.com/notifications/unsubscribe-auth/AHEfymvf3faAYDHWGahnfjBBVBWMJACKks5vRTEwgaJpZM4bHl1S .

harrynull commented 3 years ago

I am not sure either, and this does not seem to be related to this issue. Maybe try extract the files again to get a new copy, or check if there are any running programs using this folder.