yomidevs / yomitan

Pop-up dictionary browser extension. Successor to Yomichan.
https://yomitan.wiki
GNU General Public License v3.0
1.22k stars 95 forks source link

How can i implement a different language dictionary #80

Closed themoeway-bot closed 5 months ago

themoeway-bot commented 1 year ago

Glushikoben opened issue FooSoft/yomichan#1552 on 2021-03-24


Hello i wish to understand how i could use yomichan with a russian dictionary (maybe from yandex api ). I don't really understand how to adapt the format and so on

themoeway-bot commented 1 year ago

toasted-nutbread commented on 2021-03-24


(Assuming you mean a Russian => Japanese, dictionary)

Dictionary data is formatted as JSON data, which is then just added to a standard .zip archive. I would recommend looking at the dictionary-* schema files here, which include descriptions of the fields. Where applicable, use the v3 files rather than the v1. The schema files should be compliant with https://json-schema.org/'s format.

The most relevant files will likely be:

Perhaps the best starting place would be to download and unzip one of the dictionaries listed in the README file (which also includes a Russian version in case you are more familiar with that language), and checking out the information stored in it.

Kuuuube commented 5 months ago

Closing as this is 3 years old and other language support has now been merged.