hugolabe / Wike

Wikipedia Reader for the GNOME Desktop
https://hugolabe.github.io/Wike/
GNU General Public License v3.0
228 stars 32 forks source link

add support for [lang]:[search term] format to in-app and shell search #171

Closed camelCaseNick closed 7 months ago

camelCaseNick commented 7 months ago

The format [lang]:[page name] is the common and widely known format for interwiki links, and thus makes sense to support as a format for the search for a deviation from the default language.

hugolabe commented 7 months ago

I considered this option when I implemented the search service on the desktop, but I discarded it.

The problem is that if you are searching in a language that has a code of 3 or more characters (there are many), when you type the code it starts showing suggestions for the default language until you enter the character :. It is not a very serious problem, but it is a somewhat inconsistent and undesirable behavior for me.