Zettelkasten-Team / Zettelkasten

Zettelkasten-Developer-Builds
http://zettelkasten.danielluedecke.de
GNU General Public License v3.0
730 stars 92 forks source link

Option for accent-insensitive search #406

Closed mateusbraga closed 2 years ago

mateusbraga commented 2 years ago

Is your feature request related to a problem? Please describe. I write my notes in Portuguese, which has accents ('não' is the word for 'no'). When searching, I don't usually care about differentiating substrings with and without accents.

Describe the solution you'd like Have the option to do accent-insensitive searches. Potentially a way to set that as the default for the quick search bar.

Describe alternatives you've considered none so far

Additional context Searching for 'nao' gives me a different set of results than searching by 'não'.

trutzig89182 commented 2 years ago

Would it make sens to ignore all diacritics for all languages? In German in some cases ignoring the distinction of diacritics ä/a and ö/o could make searches annoying. (Searching for “Droge” would return results for “dröge”.)

I still think that accent-insensitive search makes good sense, but perhaps the solution has to be more complex. Not sure if there are good solutions to this already. I reckon this is a very common problem.

mateusbraga commented 2 years ago

I imagined this as an option or preference config. There are cases where being specific is desired.

Em sex, 14 de jan de 2022 18:34, David Adler @.***> escreveu:

Would it make sens to ignore all diacritics for all languages? In German in some cases ignoring the distinction of diacritics ä/a and ö/o could make searches annoying. (Searching for “Droge” would return results for “dröge”.)

I still think that accent-insensitive search makes good sense, but perhaps the solution has to be more complex. Not sure if there are good solutions to this already. I reckon this is a very common problem.

— Reply to this email directly, view it on GitHub https://github.com/Zettelkasten-Team/Zettelkasten/issues/406#issuecomment-1013489135, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSCIBZ6DLIOXZC3GS75FDUWCJH7ANCNFSM5JWNT3XQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were assigned.Message ID: @.***>

RalfBarkow commented 2 years ago

@mateusbraga

TODO(german) Translate from English to German.

DONE.

mateusbraga commented 2 years ago

Thanks Ralf!