-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Feat(wren-ui): add Turkish (TR) language support #2020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit adds Turkish (TR) language support across the wren-ui project. Changes include: - Added TR = 'TR' to ProjectLanguage enum in __types__.ts - Added TR = 'Turkish' to WrenAILanguage enum in adaptor.ts - Added TR to GraphQL ProjectLanguage enum in schema.ts - Mapped ProjectLanguage.TR to 'Turkish' in getLanguageText (language.ts)
WalkthroughThe PR adds Turkish language support to the WrenAI application by introducing the language code TR across multiple language-related enums (ProjectLanguage, WrenAILanguage) and adding a corresponding language mapping in the language utilities module. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🧰 Additional context used🧠 Learnings (3)📓 Common learnings📚 Learning: 2025-03-18T10:28:10.593ZApplied to files:
📚 Learning: 2025-03-18T10:28:26.608ZApplied to files:
🔇 Additional comments (4)
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Turkish language support to the Wren UI application by introducing the TR language code across the codebase.
Key changes:
- Added Turkish (
TR) as a supported language option in the GraphQL schema and type definitions - Added Turkish language text mapping in the language utility function
- Added Turkish language constant in the WrenAI adaptor model
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| wren-ui/src/utils/language.ts | Added Turkish language text mapping |
| wren-ui/src/apollo/server/schema.ts | Added TR to ProjectLanguage enum in GraphQL schema |
| wren-ui/src/apollo/server/models/adaptor.ts | Added Turkish to WrenAILanguage enum |
| wren-ui/src/apollo/client/graphql/types.ts | Added TR to ProjectLanguage enum in client type definitions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fredalai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit adds Turkish (TR) language support across the wren-ui project.
Changes include:
Summary by CodeRabbit
Release Notes