# Support global rules / display language for SCM “Generate Commit Message”

**URL:** <https://forum.cursor.com/t/support-global-rules-display-language-for-scm-generate-commit-message/176558>\
**Category:** Feature Requests\
**Tags:** rules\
**Created:** [October 29, 2026, 2:48am UTC](https://forum.cursor.com/t/support-global-rules-display-language-for-scm-generate-commit-message/176558 "2026-10-29T02:48:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucifer\_Qi](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Lucifer\_Qi](https://forum.cursor.com/u/Lucifer_Qi)\
**Post date:** [October 29, 2026, 2:48am UTC](https://forum.cursor.com/t/support-global-rules-display-language-for-scm-generate-commit-message/176558/1 "2026-10-29T02:48:40Z")

</div>

### Feature request for product/service

Cursor IDE

### Describe the request

The Source Control ✨ **Generate Commit Message** flow currently only picks up the **legacy repo-root `.cursorrules`** file.  
User Rules, Project Rules (`.cursor/rules`), `~/.cursor/rules`, and AGENTS.md do **not** affect it. There is also **no global per-machine** way to configure language or style for this button.

This is painful for non-English teams: we either copy the same `.cursorrules` into every repo, or manually rewrite English commit messages to Chinese / other languages.

Please consider **either (or both)** of the following:

#### Option 1 — Global `.cursorrules` in the user home directory

Support a machine-wide legacy rules file that also feeds the Generate Commit Message prompt, for example:

- `~/.cursorrules`
- or `~/.cursor/.cursorrules` / `%USERPROFILE%\.cursorrules` on Windows

Suggested merge order:

1. Global user `.cursorrules` (base)
2. Repo-root `.cursorrules` (override / extend)

This would let users set a default like “always generate Simplified Chinese commit messages” once, without polluting every repository or Agent context with a project file that exists only for this button.

#### Option 2 — Follow Cursor’s configured UI / display language

When generating a commit message, default the output language to Cursor’s configured display / locale language (e.g. Simplified Chinese when the app UI is Chinese), unless the user or repo explicitly overrides it.

Optional enhancement: a dedicated setting such as:

- `cursor.generateCommitMessage.language = "auto" | "en" | "zh-CN" | ...`

where `"auto"` syncs with Cursor’s language setting.

### Why this matters

- Non-English developers want one-click Chinese (or local-language) commit messages
- Copying `.cursorrules` into every clone is brittle and easy to forget
- Repo-root `.cursorrules` also leaks into Agent context, which is heavier than needed for a single SCM button
- Language following the product locale is the least-config path for most users

### Current workaround

Put instructions in each repo’s root `.cursorrules`, optionally exclude it via `.git/info/exclude`. Works, but does not scale.

### Related threads

- [Rules for the AI generate commit messages](https://forum.cursor.com/t/rules-for-the-ai-generate-commit-messages/155785)
- [Add language and custom-prompt options for SCM “Generate commit message”](https://forum.cursor.com/t/add-language-and-custom-prompt-options-for-scm-generate-commit-message/158253)

### Operating System (if it applies)

Windows 10/11
