Do not hardcode English language prompts in CCC
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3556908. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !57 !24 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>There is currently a hard coded english string in the SystemPromptSubscriber, see <a href="https://git.drupalcode.org/project/ai_context/-/blob/1.0.x/src/EventSubscriber/SystemPromptSubscriber.php?ref_type=heads#L33">here</a></p> <p><code><br> \n\nThe following site-specific context applies to this task. Use it strictly when relevant; do not override user intent.\n<br> </code></p> <p>This could cause an issue if someone is working exclusively in other languages, and they do not strictly say what output language they want.</p> <p>We should either:<br> 1. Make this part of the Context Control Center<br> 2. (or) make it translatable.</p> <p>In general, its very good if every part of a LLM call can be overriden and controlled in some way that doesn't need to write code.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Take a decision on one of the above.</p> > Related issue: [Issue #3571188](https://www.drupal.org/node/3571188) > Related issue: [Issue #3571006](https://www.drupal.org/node/3571006) > Related issue: [Issue #3559384](https://www.drupal.org/node/3559384)
issue