add es/fr/de/zh/hi translations - #295
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds Spanish, French, German, Simplified Chinese, and Hindi localization resources for the existing five keys, then registers those locales in the profile language picker; localization generation and static analysis are reported clean. Flow diagram for registering localized profile languagesflowchart LR
ARB["app_es.arb, app_fr.arb, app_de.arb, app_zh.arb, app_hi.arb"] --> GEN[gen-l10n]
GEN --> LOC[AppLocalizations]
LOC --> MAP[_kLanguageNames]
MAP --> PICKER[Profile language picker]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughAdded German, Spanish, French, Hindi, and Simplified Chinese localization resources. Expanded the language picker map to display localized names for all supported locales. ChangesLocalization language support
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change adds five localized language options and updates the language picker without introducing an actionable merge-blocking risk; it is merge-ready after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (6 skipped: 6 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
PR Reviewer Guide 🔍(Review updated until commit 0874f78)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
|
Persistent review updated to latest commit 0874f78 |
PR Code Suggestions ✨No code suggestions found for the PR. |
User description
adds spanish, french, german, chinese simplified, hindi arbs on top of #291's picker. same 5 keys as app_en.arb, updated _kLanguageNames in profile.dart. gen-l10n + analyze clean.
Summary by Sourcery
Expand localization support with five additional languages and make them selectable from the profile language picker.
New Features:
Enhancements:
Tests:
PR Type
Enhancement
Description
Add five new language translations
Update profile language picker options
Note: No tests added for new behavior
Diagram Walkthrough
File Walkthrough
profile.dart
Update language picker optionslib/ui2/profile/profile.dart
es,fr,de,zh, andhito_kLanguageNamesapp_de.arb
Add German localizationlib/l10n/app_de.arb
app_es.arb
Add Spanish localizationlib/l10n/app_es.arb
app_fr.arb
Add French localizationlib/l10n/app_fr.arb
app_hi.arb
Add Hindi localizationlib/l10n/app_hi.arb
app_zh.arb
Add Chinese localizationlib/l10n/app_zh.arb
Summary by CodeRabbit