BoboTiG / ebook-reader-dict

Finally decent dictionaries based on the Wiktionary for your beloved eBook reader. Daily updates & 13 languages supported so far.
http://www.tiger-222.fr/?d=2020/04/17/22/14/21-un-dictionnaire-alternatif-et-complet-pour-votre-liseuse
MIT License
408 stars 24 forks source link

Feature request: Add (Wiktionary dump) date to StarDict, possibly others #1162

Closed Moonbase59 closed 2 years ago

Moonbase59 commented 2 years ago

I usually add the date of the Wiktionary dump to the StarDict .ifo file, in the format date=2022-01-27. Maybe this is also feasible for other formats. It helps enormously to differentiate between dictionary versions.

Could we add that, so the project auto-generates it?

Should be easy to add this to convert.py, I’d think.

If you have objections using the dump date as date and prefer using the actual generation date, we could instead add some text to the description field, like maybe: (based on DE Wiktionary as of 2022-01-27).

BoboTiG commented 2 years ago

Actually, we keep track of both dates.

For Kobo, we add a INSTALL.txt file in the dicthtml-$LOCALE-$LOCALE.zip file, and it contains the Wiktionnary dump + file creation dates:

(...)
Wiktionary dump: 2022-01-20
(...)
Updated on 2022-01-27T01:18:19.401382

We could add more details in the .ifo file too, let me check that.

BoboTiG commented 2 years ago

:heavy_check_mark: :)

Moonbase59 commented 2 years ago

Real useful for people to check if they want an update, thanks!