feat(i18n): globalization pipeline — frontend i18n with backend locale support#12933
feat(i18n): globalization pipeline — frontend i18n with backend locale support#12933RamGopalSrikar wants to merge 13 commits intorelease-1.10.0from
Conversation
Squash of PR #12825 (feat/gp-frontend-i18n-batch-c) onto release-1.10.0. - IBM Globalization Pipeline integration with GP REST API client - react-i18next setup with 7 language support (en, fr, ja, es, de, pt, zh-Hans) - Lazy-load non-English locale files via Vite dynamic imports - Language selector in Settings > General page - Backend: serve translated component metadata via Accept-Language header - Translate canvas node field labels, outputs, templates on language change - Translate note nodes via dedicated endpoint - Translate all UI modals and pages (MCP, Knowledge Base, Settings, etc.) - CI: GP upload/download workflows, auto-bake note keys - Content-hash component keys for stable GP translations - Preserve user-customized node display_name/description on language switch
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
package-lock.json: npm noise, not part of this feature flows_helpers.py: unrelated blank-line change
- starter_projects/*.json: trivial trailing newline only, not i18n content - api/v1/flows.py: unrelated deployment guard removal and flow update refactor - tests/unit/test_i18n_note_translation.py: minor non-functional changes
…8n.py Resolves ruff F401 (content_hash imported but unused) and PLW2901 (for-loop variable `node` overwritten by assignment).
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-1.10.0 #12933 +/- ##
==================================================
+ Coverage 53.82% 53.91% +0.08%
==================================================
Files 2051 2051
Lines 187304 187559 +255
Branches 28150 28145 -5
==================================================
+ Hits 100817 101121 +304
+ Misses 85377 85327 -50
- Partials 1110 1111 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…x i18n test mock The squash merge brought in older versions of deployment page components, stripping functionality added by PRs that landed on release-1.10.0 after our feature branch diverged (duplicate tool name validation, deploy choice dialog update flow, step-type/step-attach-flows logic). Restored 14 files to their release-1.10.0 state. Also added __esModule: true to the i18n mock in flowStore.test.ts to fix the i18n_1.default.t TypeError.
…adModal to release-1.10.0 These files had functionality stripped by the squash merge (buildKeyPairPayload/ buildArgsPayload helpers, save version dialog logic, modal height/validation constants). Restored to release-1.10.0 state.
Summary
Full i18n (globalization pipeline) implementation for Langflow.
Frontend (109 files):
Backend (7 files):
Test plan