mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-04-25 17:45:53 +03:00
[PR #67] [CLOSED] feat: add report language support for i18n output #100
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shannon-KeygraphHQ#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/KeygraphHQ/shannon/pull/67
Author: @Mr-Neutr0n
Created: 2/6/2026
Status: ❌ Closed
Base:
main← Head:feat/language-support📝 Commits (1)
eb4c6cafeat: add report language support for i18n output📊 Changes
6 files changed (+104 additions, -1 deletions)
View changed files
📝
.env.example(+8 -0)📝
README.md(+39 -0)📝
configs/config-schema.json(+8 -1)📝
src/config-parser.ts(+3 -0)📝
src/prompts/prompt-manager.ts(+44 -0)📝
src/types/config.ts(+2 -0)📄 Description
Summary
Add support for generating security reports in different languages via:
REPORT_LANGUAGEenvironment variablereport_languageconfig file optionChanges
report_languagefield toConfigandDistributedConfigtypesreport_languageto JSON schema validationdistributeConfigto read from config or environment variablebuildLanguageInstruction()in prompt-manager to inject language instructions into prompts.env.examplewithREPORT_LANGUAGEoptionSupported Languages
Usage
Test plan
REPORT_LANGUAGE=zhand verify report is generated in Chinesereport_language: jain config file and verify Japanese outputCloses #60
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.