lute-v3 icon indicating copy to clipboard operation
lute-v3 copied to clipboard

Remove or make optional the ['Dictionary URI must contain ###']

Open emanuelps2708 opened this issue 11 months ago • 5 comments

Is your feature request related to a problem? Please describe. Hi jz, I'm helping to add some languages to the lute language project and in a lot of languages there are online dictionaries but they don't have a way to put ### in the link because some of them require to type the word manually

Describe the solution you'd like Maybe remove the warning or make it optional

Add any other context or screenshots about the feature request here. An example are the dictionaries from IDS https://ids.clld.org/ if I try to add ### it gives an error image

emanuelps2708 avatar Mar 03 '24 20:03 emanuelps2708

Sure, optional is ok, seems like a user choice to me. Cheers :-)

jzohrab avatar Mar 04 '24 02:03 jzohrab

Dev size est:

  • change form validation - show warning?
  • check dictionary test link, test with embedded or popup
  • any documentation changes?

jzohrab avatar Mar 04 '24 02:03 jzohrab

Hi @jzohrab , Adrian7 (one of the contributors of the Lute Language Support Project) asked on the questions thread about a possible solution to this issue, Imam found a solution, it would be to create a fake parameter, for example when Adrian tried to add a Cherokee dictionary "https://www.cherokeedictionary.net/" it gave the error but adding "?lute=###" fixed it so the new link would be "https://www.cherokeedictionary.net/?lute=###". With that I think the issue is solved, just maybe if you can add this to the manual that could be very helpful, the thread link is https://discord.com/channels/1074759089051160647/1155012911299833876/1217895051926175756

emanuelps2708 avatar Mar 14 '24 20:03 emanuelps2708

Good idea @emanuelps2708 - I added that, and did that total page revision I've been putting off. It should be up in a few minutes at https://jzohrab.github.io/lute-manual/usage/languages/dictionaries.html.

jzohrab avatar Mar 15 '24 02:03 jzohrab

Thank you jz, the manual page looks amazing, great effort ;)

emanuelps2708 avatar Mar 15 '24 04:03 emanuelps2708