quick-lookup icon indicating copy to clipboard operation
quick-lookup copied to clipboard

Language selection is a bit weird

Open hadess opened this issue 4 years ago • 1 comments

The language selection drop-down doesn't work the way I think it should:

  • the 3 columns are hard to read (maybe the user could choose their preferred languages in a separate settings panel to avoid overwhelming the user with choice)
  • it seems that looking for a word in French (say "perle") actually looks for a French entry in the English Wiktionary article for "perle" (my LANG is en_GB.UTF-8)

Ideally the drop-down would show a limited number of languages, and searching would search in that language's dictionary, for that language's entry.

(For reference, even if the Wiktionary support isn't great, the ability to switch between https://en.wiktionary.org/wiki/perle#French and https://fr.wiktionary.org/wiki/perle#Fran%C3%A7ais in 2 clicks is one of the things that's useful about iOS Wikipedia app Wikipanion)

hadess avatar Jun 09 '20 14:06 hadess

the 3 columns are hard to read (maybe the user could choose their preferred languages in a separate settings panel to avoid overwhelming the user with choice)

I guess it should maybe list a few (like maybe three) recently used languages at the top.

it seems that looking for a word in French (say "perle") actually looks for a French entry in the English Wiktionary article for "perle"

This is expected, since only the English Wiktionary is supported. Please see "Why does it only support English Wiktionary?" in README.md.

If we ever do support other Wiktionaries, there would then be two language drop-downs. One to specify the source language, and one for the target language. The ability to set the source language is really kind of the main point of this app (at least for me personally) -- to make Wiktionary more convenient to use as a bilingual (rather than multilingual) dictionary.

johnfactotum avatar Jun 09 '20 21:06 johnfactotum