Tour step button labels are hardcoded in English and cannot be localized
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- react, typescript
- Domain
- frontend, internationalization
Research direction
Start in src/forks/Tour/TourStep.tsx, where the hardcoded "Done"/"Next"/"Back"/"Close tour" strings, the {n} of {total} counter and the "Tour step" fallback are assembled, and read TourStepProps/TourProps alongside it. Then look at how a neighbouring ui-common component takes a prop with a uic.* catalog default, and follow that pattern for each label. Done means every listed string comes from the catalog and can be overridden by a prop, with the component's existing tests or stories passing.
Written by the indexing model from the issue text.
Description
Summary
TourStep in ui-common's Tour fork (@lablup/ui-common/lab) renders its control labels as hardcoded English strings: "Done", "Next", "Back", "Close tour", plus the step counter {n} of {total} and the fallback dialog label "Tour step". None of them is a prop or goes through ui-common's message catalog, so a product cannot localize them. Every other built-in ui-common string is a prop with a catalog default.
Steps to reproduce
- Render a
Tourwith one or moreTourSteps in an app whose locale is not English (for example Korean), withuiCommonMessagespassed to the InternationalizationProvider. - Open the tour.
- Look at the step callout's buttons.
Expected / Actual
- Expected: the button labels, the close-button label and the step counter follow the active locale through the
uic.*catalog, and each can be overridden with a prop. - Actual: they always read "Next" / "Done" / "Back" / "Close tour" / "1 of 3" in English.
Evidence
src/forks/Tour/TourStep.tsx(built asdist/forks/Tour/TourStep.jsin0.2.0-alpha.21.canary-20261111033103-c445de1bd):label: isLastStep ? "Done" : "Next",label: "Back",closeButtonLabel: "Close tour",`${index + 1} of ${count}`,label: typeof heading === "string" ? heading : "Tour step".TourStepPropsandTourPropsdeclare no label props.
Notes
- Seen in backend.ai-webui's admin view-switch tour, where the "Done" button stays in English under the Korean UI.
- Scope: only the hardcoded Tour strings. Adding the webui translations is separate work.
Reported via Teams (Quill). Requested by @yomybaby. The Teams thread is in this issue's Teams thread field (organization members only).
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 0
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 25
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lablup/ui-common
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
All issues in lablup/ui-common
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
super-productivity/super-productivity#12128 · 2 comments ·
Maintainers usually reply within 1 day
-
A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at oncePossibly taken @2389400626lh-ops claimed this today. OpenArea: Infrastructure Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DouglasNeuroInformatics/OpenDataCapture#1956 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
`getClientCredentialsToken()` sends `scopes` (comma-joined) instead of the OAuth `scope` parameterOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
justyns/silverbullet-ai#199 ·