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

[Run] Support for localized app names #3773

Closed
mikekosulin opened this issue May 27, 2020 · 13 comments
Closed

[Run] Support for localized app names #3773

mikekosulin opened this issue May 27, 2020 · 13 comments
Labels
Area-Localization issues regarding to Localization the application Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@mikekosulin
Copy link

mikekosulin commented May 27, 2020

Summary of the new feature/enhancement

Product Launcher should support keyboard layout mapping for all system keyboard layouts, for example:

US KeyboardRussian Keyboard
Russian KeyboardUS Keyboard
EDIT: commenting out the part about the keyboard switching since it nor relevant, this problem is present even for languages that don't require to switch keyboard.

Query "ьшскщыщае еуфьы" should display the results of "ьшскщыщае еуфьы" and "microsoft teams" queries.

Query "rfkmrekznjh" should display the results of "калькулятор" and "rfkmrekznjh" queries.

P.S.

Also Product Launcher should search for the localized app names(ms-resource:AppName) like a Windows Search.

Product Launcher:

image

Windows Search:

image

@jyuwono jyuwono added Product-PowerToys Run Improved app launch PT Run (Win+R) Window Area-Localization issues regarding to Localization the application labels May 27, 2020
@jyuwono jyuwono added this to the v1.0 Release milestone Jun 3, 2020
@htcfreek
Copy link
Collaborator

@mikekosulin
Please try the following:

  1. Close PowerToys.
  2. Delete the cache folder under %localappdata%\microsoft\powertoys\powertoys run\cache.
  3. Start PowerToys and wait a moment.
  4. Search for calculator in russian language. (Search for the english term is because of an index issue not possible, I think.)

Please report if this solution helps you. Thank you.

@mikekosulin
Copy link
Author

@htcfreek
No, still can't find in Russian lang.

PowerToys 18.2
W10 Pro 2004 (19041.329)

@htcfreek
Copy link
Collaborator

htcfreek commented Jun 12, 2020

@htcfreek
No, still can't find in Russian lang.

@mikekosulin
Can you please check if the calculator is listed in the file %localappdata%\microsoft\powertoys\powertoys run\cache\uwp.cache and which name is listed (english or russian). Thank you.

The file can be opened by editor.

@mikekosulin
Copy link
Author

@jyuwono
I don't think that's duplicate, because everything below P.S. not directly related to keyboard mapping like dotSwitcher, PuntoSwitcher, CarambaSwitcher functionality to PowerToys search.

@mikekosulin
Copy link
Author

mikekosulin commented Jun 12, 2020

@htcfreek
there is only "Calculator", not "Kalkulator" and not "Калькулятор".
Important note:
My locale is "English US" and the region is the United States.
Preferred languages:

  • English US
  • Russian

@htcfreek
Copy link
Collaborator

htcfreek commented Jun 12, 2020

@htcfreek
there is only "Calculator", not "Kalkulator" and not "Калькулятор".
Important note:
My locale is "English US" and the region is the United States.
Preferred languages:

  • English US
  • Russian

@mikekosulin
Can you then find calculator in PowerToys Run?

@mikekosulin
Copy link
Author

@htcfreek I didn't have any issue w/ English app name.
The only Cyrillic layout of English app-name AND locale name in Russian.

@mikekosulin
Copy link
Author

Also, Windows Search is so funny.

image
image
image
image

Can anybody explain why PowerToys doesn't use Windows search?

@htcfreek
Copy link
Collaborator

@htcfreek I didn't have any issue w/ English app name.
The only Cyrillic layout of English app-name AND locale name in Russian.

@mikekosulin
You are right. This issue is not completely duplicate. But it goes in the same direction.

I think the problem here is that the name is only show in english and not localized because you use the english language.
So PowerToys Run is not able to know the russian app name.

So for me it seems the windows search indexes also the names in the language of the available keyboard layout or general knows all localized names world-wide.

@htcfreek
Copy link
Collaborator

Can anybody explain why PowerToys doesn't use Windows search?

I think because we have implemented Wox. But there is an other issue which suggests this. (I can't find it at the moment.)

@crutkas crutkas changed the title Keyboard layout mapping for Product Launcher Support for localized app names in PT Run Dec 14, 2020
@enricogior enricogior changed the title Support for localized app names in PT Run [Run] Support for localized app names Jan 9, 2021
@enricogior
Copy link
Contributor

Closing this in favor of #4144 since it's more general.

@enricogior enricogior added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Feb 27, 2021
@enricogior enricogior removed this from the 2020 Stability Release milestone Feb 27, 2021
@zspitz
Copy link

zspitz commented Sep 30, 2021

@enricogior This issue has two parts:

  1. search for localized names for applications, and
  2. map the search term to equivalent keypresses in all available keyboard layouts (or perhaps a user-selected subset of them) and search for both variants.

AFAICT #4144 only covers the first part, not the second.

Should I open a new issue?

@gexgd0419
Copy link

As this issue has been closed, I posted my comment here.

Basically, Windows provides some APIs that makes mapping between keyboard layouts possible, although things like dead keys cannot be mapped correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Localization issues regarding to Localization the application Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

6 participants