Thank you for that push! its exactly what I was looking for (well the next level would be having the gloss in another language too

)
I did get this error when I tried to run it a second time
Quote:
Starting job: Saving customized lemmas
Job: "Saving customized lemmas" failed with error:
Traceback (most recent call last):
File "calibre\gui2\threaded_jobs.py", line 82, in start_work
File "calibre_plugins.worddumb.config", line 332, in dump_lemmas_job
File "calibre_plugins.worddumb.utils", line 29, in run_subprocess
File "subprocess.py", line 501, in run
File "subprocess.py", line 966, in __init__
File "subprocess.py", line 1375, in _execute_child
File "subprocess.py", line 561, in list2cmdline
File "os.py", line 822, in fsdecode
TypeError: expected str, bytes or os.PathLike object, not tuple
Called with args: (True, WindowsPath('C:/Users/latob/AppData/Roaming/calibre/plugins/worddumb-lemmas/fr/kindle_fr_en_v0.db'), WindowsPath('C:/Users/latob/AppData/Roaming/calibre/plugins/worddumb-lemmas/fr/kindle_fr_en_dump_v0'), 'fr', 'en') {'notifications': <queue.Queue object at 0x000001B371BBE200>, 'abort': <threading.Event object at 0x000001B371BBC640>, 'log': <calibre.utils.logging.GUILog object at 0x000001B371BBEB30>}
|
Any time I changed the lemma language under "Customize Kindle Word Wise" or "Customize EPUB Wiktionary" after the first time I ran it; it keeps defaulting to catalan and not saving the state of the new language. The above error also appears