feat: DB-backed localized templates + language-aware emails #15

Merged
gelu merged 1 commits from main into staging 2026-05-24 15:07:21 +00:00
Owner

Summary

  • New myai-models project with MyAiDbContext (schema myAi), ITemplateService, DbTemplateService
  • Seeds EN+RO variants for all user-facing templates (match email, job search results, HTML pages, AI prompt)
  • Match + job search result emails now sent in user's UI language
  • Language column added to JobSearchTokens and JobSearchSessions
  • All Dockerfiles updated to include myai-models in build context
## Summary - New myai-models project with MyAiDbContext (schema myAi), ITemplateService, DbTemplateService - Seeds EN+RO variants for all user-facing templates (match email, job search results, HTML pages, AI prompt) - Match + job search result emails now sent in user's UI language - Language column added to JobSearchTokens and JobSearchSessions - All Dockerfiles updated to include myai-models in build context
gelu added 1 commit 2026-05-24 15:07:12 +00:00
- New Apis/myai-models project: MyAiDbContext (schema myAi), TemplateEntity,
  ITemplateService, DbTemplateService with 10-min in-memory cache
- Seeds EN+RO variants for all user-facing templates (match email, job search
  results email, HTML status pages, AI system prompt)
- Match result email now sent in user's UI language (en/ro)
- Job search results email now respects session language
- Language propagates: MatchJobRequest -> token -> session -> email
- Add Language column to JobSearchTokens and JobSearchSessions (default 'en')
- All three Dockerfiles updated to include myai-models in build context

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
gelu merged commit 8f151763ae into staging 2026-05-24 15:07:21 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: AI/myAi#15