Closed jolars closed 7 months ago
This is great, thanks @jolars! 🍾
First, I did not check the code yet. Second, lets tackle more complex variants later. We still have issues with some other locales because of the exact same lack of templates.
I'll get back to you soon (™️).
Thanks a lot @jolars 🍾
Do you think you could translate https://github.com/BoboTiG/ebook-reader-dict/tree/master/docs/da? For screenshots, you can ismply comment out them, I'll see to take them later if you have interesting words.
@all-contributors please add @jolars for code
@BoboTiG
I've put up a pull request to add @jolars! :tada:
Sure, I can give it a shot, but I'm not a native speaker so it might not be perfect :)
Sure, I can give it a shot, but I'm not a native speaker so it might not be perfect :)
Something not perfect will be way enough. With time, maybe someone native will spot issues and fix them :)
Fixes #1948
Here is an attempt to support the Danish wiktionary (https://da.wiktionary.org). It's mostly working okay, but I have struggled to get variant support to work. Here's an example for "hunden", which is an inflection of "hund":
I'm not sure how to deal with this since there's no template connected to the variant ("hund"). Maybe do some replacement through https://github.com/BoboTiG/ebook-reader-dict/blob/2aedd0a7d422bbac2b1fb327f93a13b754ee797e/wikidict/render.py#L299? Do you have any ideas?