Skip to content

feat: Add French translation (fr)#139

Merged
panteLx merged 1 commit intopanteLx:mainfrom
JohnPT99:traduction-fr
Apr 3, 2026
Merged

feat: Add French translation (fr)#139
panteLx merged 1 commit intopanteLx:mainfrom
JohnPT99:traduction-fr

Conversation

@JohnPT99
Copy link
Copy Markdown
Contributor

@JohnPT99 JohnPT99 commented Mar 22, 2026

🌐 Add French localization

Context

This PR adds French as a supported language. Only the i18n layer has been touched — no components, no business logic.

Affected files

File Type Description
messages/fr.json ✨ New Full French translations
lib/locales.ts ✏️ Modified Register the fr locale
messages/en.json ✏️ Modified Key harmonization
messages/de.json ✏️ Modified Key harmonization
messages/es.json ✏️ Modified Key harmonization
messages/it.json ✏️ Modified Key harmonization
README.md ✏️ Modified Mention French support

What did NOT change

  • No UI component changes
  • No business logic changes
  • No server/build configuration changes

Testing

Verify that the language selector correctly displays fr and that translations are properly applied.

Summary by CodeRabbit

  • New Features
    • Added French language support. Users can now select French as their interface language with complete translations across all application features and menus.

modified:   README.md
modified:   lib/locales.ts
modified:   messages/de.json
modified:   messages/en.json
modified:   messages/es.json
new file:   messages/fr.json
modified:   messages/it.json
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 22, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f6960fba-6587-439e-a78e-2ecff2f0c9fd

📥 Commits

Reviewing files that changed from the base of the PR and between ddf251e and deadedf.

📒 Files selected for processing (7)
  • README.md
  • lib/locales.ts
  • messages/de.json
  • messages/en.json
  • messages/es.json
  • messages/fr.json
  • messages/it.json

📝 Walkthrough

Walkthrough

This PR adds comprehensive French language support to the application by registering the "fr" locale in lib/locales.ts, updating language name mappings across existing translation files, creating a complete French translation catalog, and updating documentation.

Changes

Cohort / File(s) Summary
Localization Configuration & Documentation
lib/locales.ts, README.md
Registered French locale by adding "fr" to the exported locales tuple, importing French date-fns locale, and updating the dateFnsLocales mapping; updated README Features table to list French among supported languages.
Language Label Updates
messages/de.json, messages/en.json, messages/es.json, messages/it.json
Added French language label entry to the language map in each existing translation file (e.g., "fr": "Français", "French", "Francés", "Francese").
French Translation Catalog
messages/fr.json
Created new French translation file with 818 lines of complete UI translations covering actions, validation, forms, app branding, calendar/notes/shifts management, statistics, sync/notifications, authentication, sharing, administration, and related feature domains.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested labels

enhancement

Suggested reviewers

  • panteLx
  • AmandineP83

Poem

🐰 Bonjour, mon ami! With whiskers held high,
French words now dance across every reply,
From locale to locale, the translations take flight,
A new language blooms—voilà, pure delight! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'feat: Add French translation (fr)' clearly and concisely describes the main change: adding French language support through translations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can disable sequence diagrams in the walkthrough.

Disable the reviews.sequence_diagrams setting to disable sequence diagrams in the walkthrough.

@panteLx panteLx merged commit 0fa7e8d into panteLx:main Apr 3, 2026
2 of 3 checks passed
@panteLx
Copy link
Copy Markdown
Owner

panteLx commented Apr 3, 2026

Thank you!

@panteLx
Copy link
Copy Markdown
Owner

panteLx commented Apr 4, 2026

@JohnPT99 your added language is now available in the :latest tag and v2.2.1

Sorry for the delayed merge!

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