This article is about the way to set default language for specific applications.
My solution #
The language I need are only English and Chinese, so I use the parameter ascii_mode
.
Find the configuration folder on your computer at first, like the ~/Library/Rime/
in my environment which is macOS. Then find out the parameter app_options
, which is usually in the file squirrel.yaml
.
To change this parameter, a recommended way is to override it in a new file named squirrel.custom.yaml
, and write the following contents in it.
patch:
app_options:
com.raycast.macos:
ascii_mode: true
# true for English and false for activate Rime's current input method like Chinese in my computer
org.gnu.Emacs:
ascii_mode: true
net.kovidgoyal.kitty:
ascii_mode: true
You can use the command
codesign -dv /Applications/<name>.app
(or change the variable to suit your OS), and check the parameterIdentifier
.
Additional solutions #
If you have multilingual requirements, the following solution is supported by Gemini 2.5 pro, which I have not double-checked.
patch:
app_options:
com.raycast.macos:
schema: schema_id_for_raycast # Replace schema_id_for_raycast with the input schema ID you wish to use in Raycast
org.gnu.Emacs: # Emacs
schema: schema_id_for_emacs
net.kovidgoyal.kitty:
schema: schema_id_for_kitty
com.microsoft.VSCode:
ascii_mode: true # It is still Okay for `ascii_mode` here
com.tencent.xinweixin:
schema: luna_pinyin
# com.google.Chrome:
# schema: an_japanese_schema_id