[Debug with AI] Language

How to make Cursor’s [Debug with AI] (Option+D) respond in a language other than English (e.g., Japanese)?

Hi @kinopee,

You can go to Cursor SettingsGeneral and you can add custom instructions under Rules for AI.

Let me know if you have any other questions!

Thanks @shaoruu !

スクリーンショット 2024-04-14 16.12.31
My [Rules for AI] setting was almost the same as yours, it means “always respond in Japanese for parts other than program code, especially for AI debugging explanations, which should always be in Japanese.”
it didn’t work. I tried the same prompt as yours in English, but it doesn’t work either.

スクリーンショット 2024-04-14 16.29.39
When executing [Debug with AI], the default prompt appears to be set to “Please help me debug this code. Only debug the latest error.” in English, which I guess might be the cause of the issue. This prompt is not editable.

After receiving a reply in English, you can ask them to translate it into Japanese.

Then [Debug with AI] is pointless, I can get the same result with [Add to Chat] command and Japanese prompt with less steps.