Skip to content

feat(i18n): add French (fr) language support for UI and AI content ge… - #1

Merged
icemc merged 1 commit into
mainfrom
feature/french-language-support
Jun 27, 2026
Merged

feat(i18n): add French (fr) language support for UI and AI content ge…#1
icemc merged 1 commit into
mainfrom
feature/french-language-support

Conversation

@icemc

@icemc icemc commented Jun 27, 2026

Copy link
Copy Markdown
Owner

…neration

Adds full French translation across 876 UI keys and registers fr as a supported content language so the LLM generates resumes, cover letters, and outreach messages in French.

Pull Request Title

Related Issue

Description

copilot:summary

Type

  • Bug Fix
  • Feature Enhancement
  • Documentation Update
  • Code Refactoring
  • Other (please specify):

Proposed Changes

Screenshots / Code Snippets (if applicable)

How to Test

Checklist

  • The code compiles successfully without any errors or warnings
  • The changes have been tested and verified
  • The documentation has been updated (if applicable)
  • The changes follow the project's coding guidelines and best practices
  • The commit messages are descriptive and follow the project's guidelines
  • All tests (if applicable) pass successfully
  • This pull request has been linked to the related issue (if applicable)

Additional Information

copilot:walkthrough

…neration

Adds full French translation across 876 UI keys and registers fr as a supported content language so the LLM generates resumes, cover letters, and outreach messages in French.
Copilot AI review requested due to automatic review settings June 27, 2026 08:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds French (fr) as a first-class language across the app, covering both (1) UI i18n strings and (2) backend “content language” support so LLM-generated documents can be produced in French.

Changes:

  • Adds a full French UI message bundle (apps/frontend/messages/fr.json) and wires it into the frontend i18n loader.
  • Registers fr in the frontend locale config and in the locale-parity test suite to prevent future build breaks from key-shape drift.
  • Extends backend + frontend “supported languages” lists and LLM language-name mapping to include fr.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
apps/frontend/tests/i18n-locale-parity.test.ts Adds fr to the locale parity guard so key/shape mismatches are caught in tests.
apps/frontend/package-lock.json Lockfile metadata update (removes libc entries for some optional platform packages).
apps/frontend/messages/fr.json Introduces French translations for the UI message keys.
apps/frontend/lib/i18n/messages.ts Registers fr in the static message map used by getMessages().
apps/frontend/lib/api/config.ts Extends the frontend SupportedLanguage union to include fr.
apps/frontend/i18n/config.ts Adds fr to locales, plus display name and flag.
apps/backend/app/routers/config.py Adds fr to the backend supported language validation/listing.
apps/backend/app/prompts/templates.py Adds fr to the language-code → name mapping used in prompts.
Files not reviewed (1)
  • apps/frontend/package-lock.json: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@icemc
icemc merged commit 2a9fe04 into main Jun 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants