Jump to content

Recommended Posts

Posted

Please support Chinese pinyin search. For example, when search for a directory or file named "我的文档", it's faster to just type Chinese pinyin "wodewendang" than "我的文档", I hope this will be supported. Spotlight can do this, but I want Alfred to replace it.

Posted

Please support Chinese pinyin search. For example, when search for a directory or file named "我的文档", it's faster to just type Chinese pinyin "wodewendang" than "我的文档", I hope this will be supported. Spotlight can do this, but I want Alfred to replace it.

 

Do you have anything installed which enables Spotlight to be able to search using pinyin? I've named a file 我的文档 and when I use Spotlight (or use mdls), can't see any reference to wodewendang, and 我的文档 isn't found.

 

Cheers,

Andrew

  • 2 weeks later...
Posted (edited)

It only works when you have the Pinyin keyboard/Input Source activated.

 

When you start typing Latin characters, OS X shows a little pop-up at the cursor containing the Chinese ideograms it can convert the Latin to. In Spotlight, it searches using the suggested ideograms as a query, not the Latin characters you actually entered.

 

Activate Pinyin input and 我的文档 will pop right up when you search for "wode…" in Spotlight.

Edited by deanishe
Posted

It only works when you have the Pinyin keyboard/Input Source activated.

 

When you start typing Latin characters, OS X shows a little pop-up at the cursor containing the Chinese ideograms it can convert the Latin to. In Spotlight, it searches using the suggested ideograms as a query, not the Latin characters you actually entered.

 

Activate Pinyin input and 我的文档 will pop right up when you search for "wode…" in Spotlight.

 

Thanks for your explanation.

Posted

Do you have anything installed which enables Spotlight to be able to search using pinyin? I've named a file 我的文档 and when I use Spotlight (or use mdls), can't see any reference to wodewendang, and 我的文档 isn't found.

 

Cheers,

Andrew

Hi, Andrew, please look the comment by deanishe.

Posted

Thanks

 

I've been investigating this and if I use the Pinyin input source and type "wodewendang", the four correct Chinese characters appear in a sub-bar. I then simply need to press 1 (to choose the first option it presents me with) to convert the Roman characters into Chinese ones. Alfred then finds the file based on the Chinese file name.

 

Have you tried it that way? It feels quite straightforward and allows you to confirm that's what you want to search for.

 

Alfred-pinyin.png

 

Alfred-pinyin2.png

  • 4 weeks later...
Posted (edited)

I've been investigating this and if I use the Pinyin input source and type "wodewendang", the four correct Chinese characters appear in a sub-bar. I then simply need to press 1 (to choose the first option it presents me with) to convert the Roman characters into Chinese ones. Alfred then finds the file based on the Chinese file name.

 

Have you tried it that way? It feels quite straightforward and allows you to confirm that's what you want to search for.

 

Alfred-pinyin.png

 

Alfred-pinyin2.png

 

Yes, I know this. But this is not what I mean. 

 

The functionality I was talking about is this: when your current input method is English, but you want to search for some directories or files named in Chinese. In Spotlight you just need to type the Pinyin in English, and the results will show up. The key here is that you don't need to switch to Chinese input method first, then type the Pinyin, then choose the right candidate characters. So the pinyin search reduce 3 steps to 1 step, and it's more productive.

 

As for the example I provided above,  I type wode with English input method in Spotlight, the file "我的文档" didn't show up, I believe it's a bug in Spotlight's implementation. In other situations it's OK. So I choose another example: If I want to search for files named "集客", but I am currently in English input method(we are not always in Chinese input method, sometimes we need to input English, for example we need to type urls when we browse websites), I open Spotlight, and just type jike with English input method, and the results will show up. Look the screenshot below:

 

spotlight.png

Edited by treblam
  • 7 months later...
  • 7 months later...
  • 3 weeks later...
Posted (edited)

Yes, I know this. But this is not what I mean. 

 

The functionality I was talking about is this: when your current input method is English, but you want to search for some directories or files named in Chinese. In Spotlight you just need to type the Pinyin in English, and the results will show up. The key here is that you don't need to switch to Chinese input method first, then type the Pinyin, then choose the right candidate characters. So the pinyin search reduce 3 steps to 1 step, and it's more productive.

 

As for the example I provided above,  I type wode with English input method in Spotlight, the file "我的文档" didn't show up, I believe it's a bug in Spotlight's implementation. In other situations it's OK. So I choose another example: If I want to search for files named "集客", but I am currently in English input method(we are not always in Chinese input method, sometimes we need to input English, for example we need to type urls when we browse websites), I open Spotlight, and just type jike with English input method, and the results will show up. Look the screenshot below:

 

spotlight.png

This is the behavior on my Mac too.  I believe you need to add China to you language(doesn't have to be the first or display language) and maybe set your region to China, so that the system would index filename's pinyin too.

 

I know for sure that if your language setting is English, Contacts and iTunes won't index pinyin of anything, and from the screenshot above spotlight seems to work the same way.

 

This feature is crucial for Chinese user, typing Chinese instead of just pinyin is woefully slow for quick search. For now I don't use Alfred for searching because of this, and make my own workflow ( where I translate Chinese app names to pinyin "keyword") so that I can even comfortably launch apps.

Edited by jaywang

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...