Skip to content

Refine French translations for UI conciseness - #2455

Merged
seefs001 merged 2 commits into
QuantumNous:mainfrom
comeback01:french-translation
Dec 26, 2025
Merged

seefs001 merged 2 commits into
QuantumNous:mainfrom
comeback01:french-translation

Conversation

@comeback01

@comeback01 comeback01 commented Dec 17, 2025 •

Copy link
Copy Markdown
Contributor

Updated web/src/i18n/locales/fr.json to improve French translations for the user interface.

Removed verbose prefixes like 'Gestion des...' and 'Paramètres de...' to prevent truncation in sidebars and menus.

Harmonized terms for consistency (e.g., 'Tâches', 'Journaux', 'Dessins').

Renamed 'Place du marché' to 'Marché des modèles'.

Summary by CodeRabbit

  • Localization
    • Updated and refined French translations across the interface for improved clarity and consistency.
    • Simplified UI labels with more concise and natural French phrasing.

✏️ Tip: You can customize this high-level summary in your review settings.

Updated web/src/i18n/locales/fr.json to improve French translations for the user interface.

Removed verbose prefixes like 'Gestion des...' and 'Paramètres de...' to prevent truncation in sidebars and menus.

Harmonized terms for consistency (e.g., 'Tâches', 'Journaux', 'Dessins').

Renamed 'Place du marché' to 'Marché des modèles'.
@coderabbitai

coderabbitai Bot commented Dec 17, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

A single-file update to French translations in the i18n locale, simplifying and standardizing UI labels and API-related terminology. Changes affect translation values only, with no functional code logic modifications.

Changes

Cohort / File(s) Summary
French Localization Updates
web/src/i18n/locales/fr.json
Simplified and standardized French translations across 50+ entries. Shortened UI section labels (e.g., "仪表盘设置" → "Tableau de bord", "令牌管理" → "Jetons"), condensed API descriptions, and adjusted terminology for consistency (e.g., "个人信息设置" → "Infos personnelles", "隐私设置" → "Confidentialité"). No keys or functional logic changed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

  • Review effort is minimal as the changes are purely cosmetic translation updates with consistent patterns throughout.
  • Verification should focus on ensuring French translations are semantically accurate and culturally appropriate rather than logic validation.

Possibly related PRs

Suggested reviewers

  • Calcium-Ion

Poem

🐰 French labels now shine so bright,
Simplified text, a cleaner sight!
From lengthy names to short and sweet,
The UI dance is now complete! 🇫🇷✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and clearly describes the main change: refining French translations for UI conciseness by removing verbose prefixes and shortening labels for better display in sidebars and menus.
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
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b35ae9f and f88fc26.

📒 Files selected for processing (1)
  • web/src/i18n/locales/fr.json (39 hunks)
🔇 Additional comments (3)
web/src/i18n/locales/fr.json (3)

50-53: Verify abbreviated terms in UI context.

The simplifications here are good and align with the PR objectives to avoid truncation. However, note the use of "Config." (line 51) as an abbreviation while other terms use full words.

Please verify in the actual UI that:

  • "Config. API" renders clearly in constrained spaces (sidebars, dropdowns)
  • The abbreviation is understandable to French-speaking users
  • Consider if "Config API" (without period) might be cleaner, or use full "Configuration API" if space permits

The overall approach of simplifying labels is appropriate for UI constraints.


206-208: Excellent terminology harmonization.

These simplifications successfully remove redundant prefixes while maintaining clarity:

  • "个人信息设置" → "Infos personnelles"
  • "令牌管理" → "Jetons"
  • "仪表盘设置" → "Tableau de bord"
  • "价格设置" → "Prix"

The consistent removal of "Paramètres de..." and "Gestion des..." prefixes throughout the file aligns perfectly with the PR objectives and will improve the user experience in space-constrained UI elements.

Based on PR objectives.

Also applies to: 266-266, 270-270, 273-273


115-115: Successfully harmonizes terminology as per PR objectives.

These changes demonstrate the core improvements mentioned in the PR:

  • Tâches (lines 115, 277, 279): Consistent terminology for task-related items
  • Journaux (line 300 and others): Standardized term for logs throughout
  • Marché des modèles (line 1232): Successfully renamed from "Place du marché" as specified in PR objectives

The harmonization improves user experience by using consistent, predictable terminology across the entire application.

Based on PR objectives: harmonize terms for consistency.

Also applies to: 277-277, 279-279, 300-300, 1232-1232


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.

@comeback01

Copy link
Copy Markdown
Contributor Author

"Updated the branch with the latest changes from upstream/main to ensure compatibility and resolve any potential conflicts.

@seefs001
seefs001 merged commit f51b5bb into QuantumNous:main Dec 26, 2025
@comeback01
comeback01 deleted the french-translation branch January 9, 2026 08:05
ennnnny pushed a commit to ennnnny/new-api that referenced this pull request Mar 17, 2026
@coderabbitai coderabbitai Bot mentioned this pull request May 21, 2026
11 tasks
@coderabbitai coderabbitai Bot mentioned this pull request Jun 29, 2026
11 tasks
salem-2007 added a commit to salem-2007/new-api that referenced this pull request Sep 10, 2026
junjundesk pushed a commit to junjundesk/new-api that referenced this pull request Oct 3, 2026
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.

3 participants