Nquiry About Generating Chinese Content for Git Commit Messages Using Cursor AI

Hello! I am a user of the Cursor editor. Currently, I frequently use the editor’s AI-powered Git commit message generation feature in my daily development work. This feature has greatly improved my development efficiency, and I would like to express my gratitude here.

Currently, I am encountering a usage issue. When using Cursor to generate Git commit messages, the generated content is always in English no matter what operations I perform. However, the development team I work with requires unified use of Chinese commit messages for daily collaboration to ensure the readability of the codebase and the convenience of team communication. I have tried some methods shared by the community, including creating a .cursor/rules file in the project root directory and adding Chinese generation rules, as well as adding Chinese comments and Chinese file names in the code.

Based on my usage experience, I have the following questions to consult your team and sincerely request professional answers and guidance:

1. Does the current AI Commit message feature of Cursor fully support Chinese generation? If not fully supported, what is the current status of Chinese support and the subsequent optimization plan?

2. In addition to the methods I have tried above, are there any more stable and effective configuration methods (such as global rule settings, Custom Instructions configuration, etc.) that can force the AI to generate Git commit messages in Chinese?

3. If there are current technical limitations that lead to unstable Chinese generation, is there a temporary alternative solution to help us efficiently generate standardized Chinese Git commit messages in team collaboration?

4. If it is necessary to achieve Chinese generation through script configuration, plug-in assistance, or Git hooks, could you provide specific operation steps and configuration examples?

I am currently using the latest version of Cursor. My daily development scenario is mainly Chinese team collaboration, and Chinese Git commit messages are crucial to our work efficiency and code management standardization. I sincerely request your team to reply as soon as possible. If there is any additional usage detail or environment information that needs to be supplemented, I will cooperate to provide it in a timely manner.

Hey there!

Take a look at this post!