How to change "generate commit message" language?

I come from github copilot, cursor is an awesome tool, but I’m stuck at how to set the language of “generate commit message”,

How to set/change the language of “generate commit message”?

10 Likes

Hey, currently the commit message generation feature doesn’t use your ‘Rules for AI’, but I’ve raised this with the team and we may be able to add this in a future update.

Thanks for reporting!

5 Likes

Hi, thank you for your feedback. I would really appreciate an update. I would like to use Japanese.

1 Like

How do I “+1” this?

A reply will do it haha! We hear you on this, and are looking to add this very soon hopefully :crossed_fingers:

十分期待

It would be great to have something per project/workspace.

Similarly to “Rules for AI,” my requirements may vary from project to project, and this is the case here as well.

Hey,

In the “User Rules” i added a little sentence saying to put the commits in English and it works well:

Always respond in Francais. Write commit message in English

1 Like

the default is english

yep, +1 too, overall features should be consistent across all cursor IDE parts.

Language can be specified

Currently, support for different languages for commit messages has been added, but how can the language of the commit message be changed individually? For example, I want all other replies to be in Chinese, but the commit needs to be in English.

Hey, you can specify this in the AI rules.

ty,be of use

does generating commit messages costs a fast request?

No, the commit message generation does not use your requests.

1 Like



rules:
7. 所有仓库的 commit message 都使用中文

  • For commit message use Chinese :red_circle::red_circle::red_circle:优先级最高**严格遵守:red_circle::red_circle::red_circle:优先级最高**

not work, one is Chinese one is English, if there is an option set language, will be nice

Hey, thanks for the report. It seems this isn’t working at the moment. I’ll forward this to our team for investigation.

not work for me.

rules can’t set commit language.

@weipengzou yes currently Commit Message does not use requests and does not use rules. As Dan reported Cursor Team may add the language support in future updates.