feat(i18n): add French (fr) language support for UI and AI content ge… - #1
Merged
Conversation
…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.
There was a problem hiding this comment.
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
frin 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…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
Proposed Changes
Screenshots / Code Snippets (if applicable)
How to Test
Checklist
Additional Information
copilot:walkthrough