Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to link to online dictionaries #3380

Open
Skivling opened this issue Jul 26, 2024 · 5 comments
Open

Add ability to link to online dictionaries #3380

Skivling opened this issue Jul 26, 2024 · 5 comments

Comments

@Skivling
Copy link

Creating a course, I want to link to a relevant online dictionary so the learner can get proper definitions of the words.

This could be shown in the UI if there is ever a dictionary page where a learner can look through the words in the course.

I want this feature for my LL-based application, will be adding it on top anyway but it's nice to have support in LibreLingo normally.

@kantord
Copy link
Owner

kantord commented Jul 27, 2024

what about allowing courses to have a resources.md file that is similar to the explanation .md files for each skill, but it is on the course level 🤔

@Skivling
Copy link
Author

The point is to be able to put these links in an in-app dictionary so the LibreLingo course doesn't have to provide dictionary-level definitions for words. For my course, Te Reo Māori, the de-facto dictionary is https://maoridictionary.co.nz and for learners to be able to be looking through an in-app dictionary which shows the words they've learned, where they're included in sentences in the course etc, then be able to click through to an online dictionary entry for it to get the full understanding of the definition would be great.

For example:

New words:
  - Word: tahi
    Translation: one
    Also accepted: 1
    Dictionary Link: https://maoridictionary.co.nz/word/7059
    Images:
      - one1
      - one2
      - one3

If it was a markdown file how would that be read by applications?

On another note, it would be nice to be able to link to other resources for the learner, because just a LibreLingo course is never going to be able to cover nuances, culture, etc; and for these to be displayed in a nice way in the UI.

@kantord
Copy link
Owner

kantord commented Jul 28, 2024

I would say that depending on an external dictionary that way is a bit tricky because it's an external dependency that you have no control over. If they change how the website works, or change the license to prohibit this use it will break your course and it will be very hard to fix it because you will have to replace how every single word is implemented in your course before the course can be fixed/go back online.

@kantord
Copy link
Owner

kantord commented Jul 28, 2024

The markdown could just be rendered as a documentation page. In that case if the link becomes dead it's not a dramatic problem, all you would have is a single dead link

@Skivling
Copy link
Author

Hadn't thought of that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants