raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.44k stars 3.14k forks source link

[OpenAI Translator] Update the language switcher #15079

Closed demidchick closed 1 month ago

demidchick commented 1 month ago

Extension

https://www.raycast.com/douo/openai-translator

Description

I love the extension, but there's one tiny thing that complicates the use. Switching between my languages is a bit cumbersome. The languages I always use aren't on the top of the list, so I have to use the search bar. And since the language names are spelled in different writing systems, I have to switch the language on the keyboard → enter the language name → switch the language back → enter the phrase for translation.

This, of course, can be solved in different ways. Here's a few that I think could work without disrupting experience for other users:

  1. Allow language pinning. This way, we could use ⌘ + P to open the language menu and then ⌘ + 1 / ⌘ + 2 / ⌘ + 3, etc. to switch between languages. Or maybe just introduce some universal shortcut for toggling between languages.
  2. Add the English version of the language to the list, e.g. Deutsch (German). This way, it'll be possible to search for any language without having to switch back and forth.

Any other work-around would also be amazing!

Who will benefit from this feature?

Everyone who uses languages from different writing systems.

Anything else?

No response

raycastbot commented 1 month ago

Thank you for opening this issue!

🔔 @douo @dekura @leeonfield you might want to have a look.

💡 Author and Contributors commands The author and contributors of `douo/openai-translator` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
douo commented 1 month ago

Thank you for your feedback. Regarding the first point, do you think this PR https://github.com/raycast/extensions/pull/15123 could resolve your issue? As for the second point, it's also a very intuitive request, and I'll see how best to handle it.

demidchick commented 1 month ago

@douo yes, the "recent" languages will indeed solve my problem. Thank you, appreciate your help!

douo commented 1 month ago

Thanks to @ridemountainpig and his work