Add Indonesian (id) locale + backfill missing hi/zh keys to full parity - #463
Merged
Chenglong Wang (Chenglong-MS) merged 2 commits intoSep 28, 2026
Merged
Conversation
Translate all 10 frontend locale domains into Bahasa Indonesia (1860 keys, full parity with en). Register the bundle in locales/index.ts and i18n/index.ts, add the 'Bahasa Indonesia' language switcher label, and cover key parity with a unit test.
Add 36 missing Hindi keys and 5 missing Simplified Chinese keys introduced by newer features (semantic model sidebar, connector groups, chart quick actions, virtual sources). All four UI locales now share the same 1860-key set.
Author
|
@microsoft-github-policy-service agree |
Open
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
Adds full Bahasa Indonesia (
id) support for the frontend i18n system, following the same pattern as the Hindi locale in #436. While verifying, I found thehiandzhbundles had fallen behinden, so this PR also backfills those missing keys. Related to #337 (International Language Support).Commits
Changes
src/i18n/locales/id/— all 10 domains translated (common,upload,chart,model,encoding,messages,navigation,dataLoading,loader,errors) plus theindex.tsaggregatoridinsrc/i18n/locales/index.tsand in theresourcesmap insrc/i18n/index.ts(it flows automatically intoSUPPORTED_UI_LANGUAGES)Bahasa Indonesialabel toLANGUAGE_LABELSinsrc/app/App.tsxtests/frontend/unit/app/i18nLocales.test.tswith anid-vs-enkey-parity testhi: +36 keys (chartRecquick actions/report/workflow,dataThreadsource-switching + import counts, 12sidebarkeys incl. thesemantic*set, 15uploadkeys incl.connectorGroups,operation.virtualSource)zh: +5 keys (chartRecquick actions/report/workflow set,operation.virtualSource)Translation notes
hivocabulary (वर्कस्पेस, सिमेंटिक, वर्कफ़्लो, जोड़ें/नया/आयात करें); each key's meaning confirmed against its component usage (DataSourceSidebar.tsx,SimpleChartRecBox.tsx,SourceTableShelf.tsx,UnifiedDataUploadDialog.tsx,DataOperationCard.tsx)zhvocabulary (工作流, 语义/度量/维度, 快捷操作){{interpolation}}placeholders,_pluralforms, and inline HTML tags (<refreshAction>,<strong>) preserved verbatimTRANSLATION_GUIDE.md(chart types, channel keys, spec values); tooltips translated insteadloader.jsonleft literalchart.vegaLocalelocalized for Indonesian (day/month names); no code change needed invega-locale.ts"id"already exists inLANGUAGE_DISPLAY_NAMES(agent_language.py), so agent language instructions work out of the boxVerification
index.ts): en/hi/zh/id each resolve to exactly 1860 keys — 0 missing, 0 extra, 0 placeholder/tag mismatchesidkey alignment withenvitest/tscrun was not possible in this environment (nonode_modulesavailable); please rely on CIBase / head: base: microsoft/dev ← head: fazelllyyy/feat/locale-id