signsofai check <file> --lang es --report out.md writes the evidence report in English. --lang is the language of the text (the help says so), and the CLI builds its ReportOptions without ever setting InterfaceLanguage (src/SignsOfAI.Cli/Program.cs, the block that writes the report), so the Spanish resource in report.es.json is unreachable from the command line. Setting LANG/LC_ALL changes nothing.
The web and desktop apps pick the interface language from their own switch, so this only affects the CLI — but the CLI is what a script or an LMS integration would call, and the teacher package is bilingual on purpose.
Fix is small: a --report-lang <en|es> option (default: follow --lang when it is a language the report supports, else English), passed into ReportOptions.InterfaceLanguage, with a test that a Spanish report carries no fallback markers. Found by the code review of #76.
signsofai check <file> --lang es --report out.mdwrites the evidence report in English.--langis the language of the text (the help says so), and the CLI builds itsReportOptionswithout ever settingInterfaceLanguage(src/SignsOfAI.Cli/Program.cs, the block that writes the report), so the Spanish resource inreport.es.jsonis unreachable from the command line. SettingLANG/LC_ALLchanges nothing.The web and desktop apps pick the interface language from their own switch, so this only affects the CLI — but the CLI is what a script or an LMS integration would call, and the teacher package is bilingual on purpose.
Fix is small: a
--report-lang <en|es>option (default: follow--langwhen it is a language the report supports, else English), passed intoReportOptions.InterfaceLanguage, with a test that a Spanish report carries no fallback markers. Found by the code review of #76.