Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support searching with wrong keyboard layout #847

Open
2 tasks done
750 opened this issue Aug 20, 2024 · 1 comment
Open
2 tasks done

Support searching with wrong keyboard layout #847

750 opened this issue Aug 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@750
Copy link

750 commented Aug 20, 2024

Before Submitting Your Feature Request

  • Check that there isn't already a similar feature request to avoid creating a duplicate.
  • I have seen the FAQ.

Problem

This is a problem for all non-latin languages: you forget to switch the layout from one language (e.g. Russian) and type something in another language (e.g. English) only to find yourself with a weird looking string

For instance: you want to write pull request, with wrong layout it becomes згдд куйгуые

Search engines added support for this a long time ago, see google: https://www.google.ru/search?q=%D0%B7%D0%B3%D0%B4%D0%B4+%D0%BA%D1%83%D0%B9%D0%B3%D1%83%D1%8B%D0%B5

A screenshot Screenshot 2024-08-21 at 00 20 47

Solution

It would be nice if Maccy supported searching in the wrong layout.

That would probably mean that every search string would be searched twice: for original string and for layout-converted one. Google probably uses heuristics to only search with one of those, but that would be overcomplicated. Therefore that feature should be turned off by default, so that one layout only users would not be punished (and they are probably the majority of your app users)

Implementation wise: the app could use predefined mappings between layouts. I saw something like that on github. Worst case scenario: users could provide their own mapping, in case their layout is not supported

@750 750 added the enhancement New feature or request label Aug 20, 2024
@p0deje

This comment was marked as off-topic.

@p0deje p0deje closed this as completed Oct 2, 2024
@p0deje p0deje reopened this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants