Skip to content

fix: present extension opt-in prompts in user's conversation language#177

Open
masamaru0513 wants to merge 5 commits intoawslabs:mainfrom
masamaru0513:fix/localize-extension-opt-in-prompts
Open

fix: present extension opt-in prompts in user's conversation language#177
masamaru0513 wants to merge 5 commits intoawslabs:mainfrom
masamaru0513:fix/localize-extension-opt-in-prompts

Conversation

@masamaru0513
Copy link
Copy Markdown

Summary

Extension opt-in prompts (*.opt-in.md) were hardcoded in English, causing non-English users to see questions in English regardless of their conversation language.

Closes #176

Changes

Added a single instruction line at the top of each opt-in prompt block directing the AI to present the question in the user's conversation language.

User experience

Before: Extension opt-in questions (Security Baseline, Property-Based Testing) always appeared in English even when conversing in Japanese.

After: Questions are presented in the user's conversation language (e.g., Japanese when conversing in Japanese).

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Test Plan

  1. Set up AI-DLC with extensions in Kiro CLI
  2. Start with Using AI-DLC, 簡単なTodoアプリを作りたい
  3. Answer initial questions in Japanese
  4. Verify extension opt-in questions appear in Japanese

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Extension opt-in prompts are always displayed in English regardless of conversation language

2 participants