Japanese icon indicating copy to clipboard operation
Japanese copied to clipboard

Issue when i press the "add definition" button in the card browser

Open IEatRamen234 opened this issue 1 year ago • 14 comments

  1. OS name: Linux mint
  2. OS version: 21.3 Cinnamon
  3. Anki version: 24.06.2, installed from script. I also encountered the problem in older versions of anki, both flatpak and script. When i press the "add definition" button, i get this error: "Connection Error". I have it set up correctly in the settings, as seen in the image image image

IEatRamen234 avatar Jun 15 '24 17:06 IEatRamen234

The "add definition" button works by fetching definitions from https://sakura-paris.org. See this file for details.

Sakura-paris was an online dictionary website. But it died a while ago. There's ongoing work to replace it, and it will be implemented in future versions of AJT Japanese.

tatsumoto-ren avatar Jun 15 '24 18:06 tatsumoto-ren

Thanks! now i know that the issue is taken care of. good luck!!

IEatRamen234 avatar Jun 16 '24 14:06 IEatRamen234

While the feature is not ready yet, in the mean time you can add definitions using either Rikaitan or Goldendict.

tatsumoto-ren avatar Jun 17 '24 22:06 tatsumoto-ren

Would it be possible to have custom sources for the "add definition"?

Furshia avatar Aug 10 '24 08:08 Furshia

Hopefully, yes.

tatsumoto-ren avatar Aug 10 '24 18:08 tatsumoto-ren

would jisho work? there are some libraries designed exclusively to act as an api for it.

PANICBUTT0N avatar Oct 04 '24 12:10 PANICBUTT0N

would jisho work?

It offers only japanese to english translation. Ideally we want to be able to use a wide range of monolingual dictionaries.

tatsumoto-ren avatar Oct 04 '24 13:10 tatsumoto-ren

I created Waydict, an Anki add-on to import definitions from dictionaries in Rikaitan format. It could be useful.

Hundway avatar Feb 27 '25 19:02 Hundway

@Hundway I'll take a look. We could probably integrate that into AJT Japanese.

tatsumoto-ren avatar Feb 27 '25 19:02 tatsumoto-ren

@tatsumoto-ren Sure. Let me know if you need any help.

Hundway avatar Feb 27 '25 20:02 Hundway

have u also implemented bulk add feature? i did not have the time to check the addon properly but i cant seem to find it... thanks anyway for your great work!

IEatRamen234 avatar Feb 27 '25 23:02 IEatRamen234

Yes, you can select multiple cards and use the "Waydict: Add definition" option in the right-click context menu to bulk add definitions.

Hundway avatar Feb 28 '25 00:02 Hundway

Hello Tatsumoto-san add definition not working it says connection error do you know why? Can you help me thanks

Tsogtpurev avatar Mar 02 '25 17:03 Tsogtpurev

@Tsogtpurev the website that hosted the dictionaries got taken down. We will introduce a different feature where definitions will be looked up in Rikaitan dictionaries.

tatsumoto-ren avatar Mar 02 '25 21:03 tatsumoto-ren