Why is the automatically generated submission information always in English? How can I tell it to use Chinese?
Hi lalala123,
This is a common request. Currently the “Generate commit message” feature doesn’t have a built-in language setting.
There are a couple of things you can try:
-
Add a rule to your project. Create a
.cursorrulesfile in your project root (or a Project Rule) with something like - “All generated commit messages must be written in Simplified Chinese (简体中文).”
Some community members have reported that this influences commit message generation, though results may vary. -
Write a few commit messages in Chinese manually first. The commit message generator looks at your recent git history and tries to match the style, so having Chinese commits in your history may help steer it.
This is actively tracked as a feature request here, where you can follow updates:
Hope that helps!
Best,
Mohit
