strapi-plugin-fuzzy-search icon indicating copy to clipboard operation
strapi-plugin-fuzzy-search copied to clipboard

Support accents / diatrics? (é è à ç etc...)

Open maximelebreton opened this issue 2 years ago • 5 comments

Hello @DomDew,

I'm using your plugin for a french website and this language use accents / diatrics.

So when i'm searching identite keyword, and in my content the word is identité, I have no results.

The author of fuzzysort suggest this solution in this comment: https://github.com/farzher/fuzzysort/issues/23#issuecomment-366492221, but I dont know how to implement it through your plugin?

Any suggestion?

Thanks!

maximelebreton avatar Jan 31 '23 10:01 maximelebreton

Hey @maximelebreton,

Thanks for bringing this up!

do you have transliteration enabled? That might solve the problem you are facing.

If you have it enabled and are still not getting results, than I'd say this would have to be a new feature...

DomDew avatar Feb 01 '23 09:02 DomDew

hello @DomDew, thanks for your time, and sorry for my late response,

I have only one language on this site (french), but even if I had activated transliteration, it would not solve the problem, because I want results from a french word without accent (input: identite -> output: identité).

Thanks!

maximelebreton avatar Mar 01 '23 19:03 maximelebreton

I also need this feature

jpmontminy avatar Apr 18 '23 18:04 jpmontminy

Why does Strapi does not include diacritics insensitive search by default :(

jfrancoeur avatar Apr 18 '23 18:04 jfrancoeur

I got the same problem, any solution?

nam3886 avatar Jul 20 '23 16:07 nam3886

Hey everyone, can you check if things are working for you in v3.0.0?

Should work better now ✌️: Bildschirmfoto 2024-06-19 um 11 17 21

DomDew avatar Jun 19 '24 09:06 DomDew