Jump to content

Suggest search results in English when not latin keyboard layout is used


dshchurov

Recommended Posts

It's quite common IMHO that users start typing in their national language, when "Automatically switch to a document's input source" option is turned off (as it causes more issues then resolves). Thus it would be very helpful to detect not latin layout, and try to find by a "keyboard translation" (I have no idea how to name it right...) For example "Сркщ" in Cyrillic will be suggested as "Chro".
Thank you.

Link to comment
Share on other sites

  • 1 month later...

 

You want Alfred to transliterate any Cyrillic input into Latin characters?

 

 

Exactly. There are programs that do statistical analysis of symbols your enter and if the sequence is not typical for the language that you keyboard layout is set to, then the keyboard layout is switched automatically to the other layout (i think these programs can only work with 2 languages) AND  entered symbols are automatically deleted and retyped in proper language.

 

Well, maybe my explanation is not very clear but an example is worth a thousand words:

"пщщпду" - is "google" typed with keyboard set to Russian language layout. There is no word in Russian that starts with "пщ" so as soon as i enter these two symbols, such a program will simulate backspace being pressed twice, change keyboard layout to English and retype "go"

 

Having said all that, for Russian language there are 3 programs that i'm aware of that do that kind of transliteration globally, in any program, not only in Alfred.

Link to comment
Share on other sites

I'm still not totally clear. Exactly what is the problem you have?

 

You sometimes activate Alfred when you have a Russian keyboard selected and … you want Alfred to behave as if it's an English keyboard (in terms of which letter each key produces)?

Edited by deanishe
Link to comment
Share on other sites

The problem arises when you have to work with more than 2 languages. 

 

On my mac i have "Automatically switch to a document's input source" option disabled.

So when i type something in Russian and if i want to quickly execute an Alfred workflow, say look something up on google, i just bring up Alfred and start typing "пщщпду". What i really wanted to type was of course "google" but i forgot to switch keyboard layout. So the program i use (punto switcher) would recognise that i really meant "google" so it would delete "пщщпду" and it would type "google" (well, actually it would execute itself much earlier, after i typed "пщ" because in Russian there is no word that starts with these two letters). 

 

This whole thing is a big problem for people who have to work with 2 languages and who are not capable of blind typing. 

But even if you can blind-type, this program saves unnecessary keystrokes that you otherwise would have had to press to switch keyboard layout. 

 

so i guess, yes, the OP wants this functionality in Alfred, so that he does not have to switch keyboard layouts. Or if the OP forgets to switch it, then Alfred would correct this kind of mistake. 

 

I don't have any problem at all, because i have a program that does this globally, not only in Alfred. 

Link to comment
Share on other sites

So you don't want Alfred to transliterate Cyrillic to Latin (e.g. convert "привет" to "privet"), but to switch to an English keyboard layout when it detects someone typing English while using a Russian keyboard mapping (ideally also replacing the text you just wrote in the wrong alphabet).
 
That really does sound like something that should be done globally rather than by individual apps like Alfred. At least, it sounds like it would be a lot more useful as a global feature that works in every app.

Link to comment
Share on other sites

So you don't want Alfred to transliterate Cyrillic to Latin (e.g. convert "привет" to "privet"), but to switch to an English keyboard layout when it detects someone typing English while using a Russian keyboard mapping (ideally also replacing the text you just wrote in the wrong alphabet).

 

That really does sound like something that should be done globally rather than by individual apps like Alfred. At least, it sounds like it would be a lot more useful as a global feature that works in every app.

 

 

Yes, that's correct. Detect that you're typing using the wrong keyboard layout, delete that, switch layout and retype that in proper layout. 

Yes, i agree, that a separate program that does this globally is a lot more useful than just implementing this in Alfred.

There are at least three programs that can do that for Russian - English layouts. I'm not sure about any other languages. 

Link to comment
Share on other sites

Yes, that's correct. Detect that you're typing using the wrong keyboard layout, delete that, switch layout and retype that in proper layout. 

Yes, i agree, that a separate program that does this globally is a lot more useful than just implementing this in Alfred.

There are at least three programs that can do that for Russian - English layouts. I'm not sure about any other languages. 

 

You can force Alfred into English in his Advanced prefs under the "Force keyboard" section.

Link to comment
Share on other sites

  • 3 years later...
On 02.03.2015 at 7:22 AM, RuslanI said:

 

 

Yes, that's correct. Detect that you're typing using the wrong keyboard layout, delete that, switch layout and retype that in proper layout. 

Yes, i agree, that a separate program that does this globally is a lot more useful than just implementing this in Alfred.

There are at least three programs that can do that for Russian - English layouts. I'm not sure about any other languages. 

 

Руслан, удалось ли тебе найти решение?
Я сам ищу эту функцию уже давненько.

 

This problem was raised again without a solution:

 

Link to comment
Share on other sites

56 minutes ago, Vasiliy said:

This problem was raised again without a solution

 

As mentioned in that thread, a workflow to transliterate between alphabets isn't super difficult to do. Automatically recognising when someone is typing English in Cyrillic is an entirely different matter.

 

The program would not only need to know which characters are on which keys in the various keyboard layouts. It would also need to maintain large dictionaries to determine whether a word written in Cyrillic is a real Russian word or is, in fact, an English (or French or German) word written with the wrong keyboard layout.

 

Like I said earlier in this thread, that is well outside of the scope of Alfred (a launcher), and would be a much better fit for a system-wide utility.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...