French docs sidebar shows English section labels
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- internationalization
Research direction
Start with apps/outreach/astro.config.ts:71-102 and the Starlight typedoc sidebar options and group-building functions named in the issue. Build apps/outreach and inspect dist/fr/docs/introduction/home/index.html; done means the sidebar shows the expected French labels while English pages remain unchanged. There is no unit or Playwright suite for apps/outreach.
Written by the indexing model from the issue text.
Description
On the French docs pages, the sidebar's section headings are in English: "Tutorials", "Reference", "Changelog" and "Runtime Core API". The sidebar groups in astro.config.ts set only label, with no translations, so Starlight shows the same string in every locale. The French home page names the same sections "Tutoriels" and "Référence", and every other piece of Starlight chrome on those pages is French ("Sur cette page", "Suivant"). A French reader sees the page call the section "Référence" while the sidebar beside it says "Reference". (The pages inside these sections are English-only by design, docs/AGENTS.md; this concerns only the navigation labels.)
Where
apps/outreach/astro.config.ts:79-102 (excerpt):
{
autogenerate: { directory: 'docs/2-tutorials' },
label: 'Tutorials'
},
...
{
autogenerate: { directory: 'docs/5-reference' },
label: 'Reference'
},
{
label: 'Changelog',
slug: 'docs/changelog'
},
and :71-74, the typedoc group:
sidebar: {
collapsed: true,
label: 'Runtime Core API'
},
docs/fr/1-introduction/1.0-home.md names them "Tutoriels (en anglais)" and "Référence (en anglais)".
Reproduce
- Open https://opendatacapture.org/fr/docs/introduction/home/.
- Read the sidebar group headings.
Actual: "Introduction, Tutorials, Guides, Concepts, Reference, Changelog, Runtime Core API".
Expected: "Introduction, Tutoriels, Guides, Concepts, Référence, Journal des modifications, API de Runtime Core", matching the French home page.
Tests
apps/outreach has no unit or Playwright suite, by decision (apps/outreach/AGENTS.md). Verify through the build: the sidebar in dist/fr/docs/introduction/home/index.html shows the French labels, and the English pages are unchanged.
Suggested fix
Add translations: { fr: '…' } to the Tutorials, Reference and Changelog sidebar entries, which Starlight supports on both groups and links. For the typedoc group, add a translations field to StarlightTypeDocSidebarOptions and pass it through in getSidebarGroupFromPackageReflections/getSidebarGroupFromReflections.
- Dominant language
- TypeScript
- Stars
- 119
- Forks
- 19
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 56
Getting set up
- Ships a 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 DouglasNeuroInformatics/OpenDataCapture
-
Area: Playground Bug Difficulty: Low Good First Issue Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
DouglasNeuroInformatics/OpenDataCapture#1805 ·
Maintainers usually reply within 1 day
-
Area: Instruments Bug Difficulty: Low Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
DouglasNeuroInformatics/OpenDataCapture#1801 ·
Maintainers usually reply within 1 day
-
Area: Instruments Bug Difficulty: Low Good First Issue Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
DouglasNeuroInformatics/OpenDataCapture#1800 ·
Maintainers usually reply within 1 day
-
Area: Instruments Bug Difficulty: Low Good First Issue Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
DouglasNeuroInformatics/OpenDataCapture#1799 ·
Maintainers usually reply within 1 day
-
Area: Instruments Bug Difficulty: Low Performance Priority: Medium
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
DouglasNeuroInformatics/OpenDataCapture#1795 ·
Maintainers usually reply within 1 day
All issues in DouglasNeuroInformatics/OpenDataCapture
Similar issues
-
Add: YRF Music NepalOpenstreams:add
Difficulty 1/5 Under an hour Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
walletbeat/walletbeat#1558 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
hawk-digital-environments/HAWKI#438 ·
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GiganticMinecraft/seichi-portal-frontend#1165 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day