Skip to content

feat: add French language support - #2533

Open
PrinceSpecial wants to merge 1 commit into
inji:masterfrom
PrinceSpecial:master
Open

feat: add French language support#2533
PrinceSpecial wants to merge 1 commit into
inji:masterfrom
PrinceSpecial:master

Conversation

@PrinceSpecial

@PrinceSpecial PrinceSpecial commented Jul 15, 2026

Copy link
Copy Markdown

Description

Adds French as a fully supported language in Inji Wallet.

Changes

  • locales/fr.json (new): complete French translation, structurally identical to en.json — same keys, same {{interpolation}} placeholders, same arrays. Verified 1:1 key parity with en.json (806 keys, none missing/extra).
  • i18n.ts:
  • import fr from './locales/fr.json'
  • added fr to the i18next resources map
  • added fr: 'Français' to SUPPORTED_LANGUAGES

How it works
The language picker (LanguageSelector) and the setup screen are driven by SUPPORTED_LANGUAGES, so French appears automatically. The three-letter code mapping for server-localized fields uses the iso-639-3 package (fr → fra) and needs no change. French is LTR, so no I18nManager/RTL changes are required. No new dependencies.

Testing

  • Automated key-parity check: fr.json matches the 806 keys of en.json.
  • Ran a debug build on a physical Android device (Galaxy S10+), selected Français on the language screen and confirmed the whole UI renders in French (home, onboarding tooltips, banners, bottom navigation, etc.).

Issue ticket number and link

Closes #2532

Screenshots

00-onboarding-language-selector 02-home-screen-french 03-settings-screen-french 04-language-selector-french

Summary by CodeRabbit

  • New Features
    • Added French as a supported app language.
    • Added comprehensive French translations across navigation, authentication, identity management, settings, help content, error messages, and onboarding flows.

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 43c951fc-dfc4-4a09-9c13-46c9261e7e10

📥 Commits

Reviewing files that changed from the base of the PR and between 5840a6e and 252fd00.

📒 Files selected for processing (2)
  • i18n.ts
  • locales/fr.json

Walkthrough

French is registered as a supported i18next locale, with a complete locales/fr.json translation covering wallet navigation, authentication, credential exchange, backup, setup, and trust-related screens.

Changes

French localization

Layer / File(s) Summary
Register French locale
i18n.ts
Adds French resources and exposes fr: 'Français' through SUPPORTED_LANGUAGES.
Translate core wallet UI
locales/fr.json
Adds French strings for activity logs, identity details, authentication, navigation, issuer onboarding, help content, and credential modals.
Translate sharing and setup flows
locales/fr.json
Adds French strings for login, credential sharing, verification, backup and restore, setup, web authentication, transaction codes, and trust screens.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • inji/inji-wallet#2491: Modifies the locale registration and supported-language configuration in i18n.ts.

Poem

French words bloom where wallet screens glow,
Credentials travel, ready to go.
“Français” joins the language parade,
Every prompt in a new shade.
Bonjour, secure identity flow!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the main change: adding French language support.
Description check ✅ Passed The description includes the required sections and enough detail about changes, issue reference, and screenshots.
Linked Issues check ✅ Passed The changes match #2532 by adding fr.json and registering French in i18n and supported languages.
Out of Scope Changes check ✅ Passed No unrelated code changes are indicated beyond the French localization feature.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


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.

Add French (fr) as a selectable language across the wallet.

- Add locales/fr.json with the full French translation of all UI strings (mirrors the key structure of locales/en.json)

- Register the French bundle in i18n.ts: import fr.json, add `fr` to the i18next `resources`, and add `fr: 'Français'` to SUPPORTED_LANGUAGES so it appears in the language picker and on the initial language-selection screen

Co-Authored-By: Temitayo GBOLAHAN <80360009+princespecial@users.noreply.github.com>
Signed-off-by: Tobi3h <tobiobassandjo@gmail.com>
Signed-off-by: Temitayo GBOLAHAN <80360009+princespecial@users.noreply.github.com>
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.

Add French (fr) language support

2 participants