Skip to content

Feat(wren-ui): add Indonesian (ID) language support#2182

Open
interstellardeer wants to merge 1 commit intoCanner:mainfrom
interstellardeer:feat/wren-ui-i18n-id
Open

Feat(wren-ui): add Indonesian (ID) language support#2182
interstellardeer wants to merge 1 commit intoCanner:mainfrom
interstellardeer:feat/wren-ui-i18n-id

Conversation

@interstellardeer
Copy link
Copy Markdown

@interstellardeer interstellardeer commented Apr 2, 2026

Add Indonesian language support using ISO 639-1 code ID across the wren-ui project. The code 'ID' follows the ISO 639-1:2002 standard for the Indonesian language and is uppercased to match the existing enum convention (TR, NL, AR, PT, RU, ZH_CN, etc.).

Changes include:

  • Added ID = 'ID' to ProjectLanguage enum in types.ts

  • Added ID = 'Indonesian' to WrenAILanguage enum in adaptor.ts

  • Added ID to GraphQL ProjectLanguage enum in schema.ts

  • Mapped ProjectLanguage.ID to 'Indonesian' in getLanguageText (language.ts)

Summary by CodeRabbit

  • New Features
    • Added Indonesian language support to the application, enabling users to select Indonesian as their preferred language interface.

Add Indonesian language support using ISO 639-1 code ID across the wren-ui project. The code 'ID' follows the ISO 639-1:2002 standard for the Indonesian language and is uppercased to match the existing enum convention (TR, NL, AR, PT, RU, ZH_CN, etc.).

Changes include:

- Added ID = 'ID' to ProjectLanguage enum in __types__.ts

- Added ID = 'Indonesian' to WrenAILanguage enum in adaptor.ts

- Added ID to GraphQL ProjectLanguage enum in schema.ts

- Mapped ProjectLanguage.ID to 'Indonesian' in getLanguageText (language.ts)
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 2, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: fa6032bf-9928-4b60-8967-c787ad07bfe6

📥 Commits

Reviewing files that changed from the base of the PR and between 5a54081 and 5084cf7.

📒 Files selected for processing (4)
  • wren-ui/src/apollo/client/graphql/__types__.ts
  • wren-ui/src/apollo/server/models/adaptor.ts
  • wren-ui/src/apollo/server/schema.ts
  • wren-ui/src/utils/language.ts

Walkthrough

Added Indonesian language support by extending the ProjectLanguage and WrenAILanguage enums across client and server files, updated the GraphQL schema, and added a language text mapping for the new locale.

Changes

Cohort / File(s) Summary
Type definitions and schema
wren-ui/src/apollo/client/graphql/__types__.ts, wren-ui/src/apollo/server/schema.ts
Extended ProjectLanguage enum with ID = 'ID' entry in both client type definitions and GraphQL schema.
Language models
wren-ui/src/apollo/server/models/adaptor.ts
Added ID = 'Indonesian' entry to WrenAILanguage enum.
Language utilities
wren-ui/src/utils/language.ts
Added mapping for ProjectLanguage.ID to return 'Indonesian' in getLanguageText function.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

wren-ui

Suggested reviewers

  • fredalai
  • andreashimin

Poem

🐰 A hop across the Eastern lands,

Where Indonesian words take stand,

ID now joins the language crew,

Four files dancing, old made new! ✨

🚥 Pre-merge checks | ✅ 3
✅ 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 'Feat(wren-ui): add Indonesian (ID) language support' accurately summarizes the main change—adding Indonesian language support across the wren-ui project with consistent updates to enums and language mappings.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

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.

1 participant