Repository navigation
[l10n][charts] Add Korean (ko-KR) locale - #24308
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploy previewBundle size
PerformanceNo regressions in 35 benchmarks · precise to ±11.9% (±54.2% at worst) · ran 7m 03s · details Check out the code infra dashboard for more information about this PR. |
…ion labels Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JCQuintas
left a comment
There was a problem hiding this comment.
Thanks! Keys match enUS and the translations read well. One small a11y suggestion on the Sankey link. I don't speak Korean, so the wording suggestions are AI-generated.
| targetLabel, | ||
| }) { | ||
| return [ | ||
| sourceLabel && targetLabel ? `${sourceLabel} → ${targetLabel}` : (sourceLabel ?? targetLabel), |
There was a problem hiding this comment.
This string is read by screen readers, and → is either announced as "right arrow" or skipped depending on the punctuation setting. I don't speak Korean, so these are AI suggestions, please double check:
${sourceLabel}에서 ${targetLabel}까지("from A to B"): 에서/까지 never change, so it works for any label.${sourceLabel}에서 ${targetLabel}(으)로: maybe more natural for a flow, but needs picking 으로/로 based on the last syllable of the label.
| sourceLabel && targetLabel ? `${sourceLabel} → ${targetLabel}` : (sourceLabel ?? targetLabel), | |
| sourceLabel && targetLabel ? `${sourceLabel}에서 ${targetLabel}까지` : (sourceLabel ?? targetLabel), |
There was a problem hiding this comment.
Thanks, took ${sourceLabel}에서 ${targetLabel}까지 in c93b02c. It reads naturally and, as you say, needs no particle choice for the label.
| chartConfigurationStacked: '누적', | ||
| chartConfigurationShowToolbar: '도구 모음 표시', | ||
| chartConfigurationSkipAnimation: '애니메이션 건너뛰기', | ||
| chartConfigurationInnerRadius: '안쪽 반지름', |
There was a problem hiding this comment.
nit: 반지름 here but 반경 for border/corner radius, maybe pick one.
There was a problem hiding this comment.
Good catch, c93b02c uses 반경 for all four (border, inner, outer, corner).
… radius Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JCQuintas
left a comment
There was a problem hiding this comment.
Thanks! Pushed a prettier fix for test_static.
Adds a Korean (ko-KR) locale to the charts, with all 124 keys translated. It is exported from
@mui/x-charts/localesand listed indocs/data/charts/localization/data.json(between Indonesian and Norwegian, since the report is sorted by locale name).Follows #24295 (Data Grid) and #24303 (Scheduler).
가로 막대형(bar),세로 막대형(column),꺾은선형,영역형,원형. OHLC uses the standard market terms시가/고가/저가/종가.PNG 형식으로 내보내기instead of attaching(으)로to the format name. The Sankey link reads서울 → 부산. That way they stay correct for any custom label.this.a11yConnector,this.a11yNoValue), so a user override of those two still applies.Checks
I worked in a sparse checkout without installing the workspace, so
pnpm l10n, ESLint and the type check did not run locally. What did run:enUS.ts: 124 of 124 keys, in the same order.getChartsLocalizationstubbed (and the realimageMimeTypes), printing what a user hears or sees:🤖 Generated with Claude Code