feat(i18n): add Indonesian (id) locale - #249
Open
salmanabdurrahman wants to merge 1 commit into
Open
Conversation
Add complete id dashboard dictionaries (22 namespaces, full parity with en, consistent terminology), register locale in i18n/index.ts + dashboard/onboarding language selectors, and add docs/i18n/README.id.md with language badges across all READMEs.
There was a problem hiding this comment.
Pull request overview
Adds Indonesian (id) localization support for the dashboard and documentation, extending the existing i18n registry/loader and exposing the new locale in language selectors. This fits the codebase’s existing “English as base + lazy-loaded locale namespaces” approach in apps/dashboard/src/i18n.
Changes:
- Added full
apps/dashboard/src/i18n/locales/id/*.jsonnamespace set and registeredidin the i18n locale list. - Exposed “Bahasa Indonesia” in onboarding and dashboard settings language selectors.
- Added an Indonesian localized README and updated language badges across existing READMEs to link to it.
Reviewed changes
Copilot reviewed 35 out of 35 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds Bahasa Indonesia badge linking to the new localized README. |
| docs/i18n/README.id.md | Adds Indonesian localized README content. |
| docs/i18n/README.{ar,de,es,fr,ja,pt,tr,zh}.md | Adds link/badge entry for the new Indonesian README. |
| apps/dashboard/src/i18n/index.ts | Registers id in locales; existing lazy loader will pick up the new namespace files. |
| apps/dashboard/src/app/(onboarding)/onboarding/page.tsx | Adds id to onboarding language display/code maps. |
| apps/dashboard/src/app/(dashboard)/settings/_components/LanguageSetting.tsx | Adds id to settings language display/code maps. |
| apps/dashboard/src/i18n/locales/id/*.json | Adds Indonesian translations for all i18n namespaces. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces a comprehensive Indonesian (
id) locale for the dashboard. English remains the source of truth, and theidlocale achieves full key parity-sharing the exact same files, keys, and placeholders asen—alongside a localized README.Motivation
Fulfills the Localization guidelines outlined in
CONTRIBUTING.mdby providing Indonesian language support, which was previously unavailable in the dashboard.Related Issue
None - This PR strictly follows the
CONTRIBUTING.mdLocalization guide (introduces a new locale without altering existing behavior).Changes
apps/dashboard
src/i18n/locales/id/*.json(22 namespaces) maintaining complete parity withen.Install→ "Instal",Recommended→ "Direkomendasikan") while preserving intentional context-specific splits (e.g., actionOpen→ "Buka" vs. stateOpen→ "Terbuka").idintosrc/i18n/index.tsand exposed "Bahasa Indonesia" across the dashboard and onboarding language selectors.docs
docs/i18n/README.id.mdutilizing the standard condensed localized template.Bahasa Indonesiabadge in the rootREADME.mdand across all localized READMEs.Scope: Strictly limited to i18n dictionaries and README updates (35 files).
Verification
Checklist
(Note: No new test required; covered by the existing i18n-parity infra where
idsits at 0 drift)bun run test,bun run --cwd <workspace> lint, andbun formatall pass locally(Note: Pre-existing i18n-parity failure is unrelated - see Verification; skipped repo-wide
bun formatto avoid modifying unrelated files)