Fix language consistency in job search and match emails
1. Pass session.Language to MatchJobRequest in cv-search-job so the LLM uses the correct language-specific prompt for job titles and summaries. 2. Replace hardcoded "Manual job description" with a template-driven label (email.match.manual-job-label) seeded in English and Romanian, so the match email subject and Job row reflect the user's language. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -239,4 +239,7 @@ public sealed class EmailApiEmailSender : IEmailSender
|
||||
_emailTemplates.Render("email.match.subject", language,
|
||||
("score", score.ToString()),
|
||||
("jobLabel", jobLabel ?? "Job"));
|
||||
|
||||
public string GetManualJobLabel(string language) =>
|
||||
_emailTemplates.Get("email.match.manual-job-label", language);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user