Start translating the interface: move text into one strings file
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 62/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- frontend, internationalization
Direzione di ricerca
Start with the strings currently hard-coded in apps/web/src/components/AuthForm.tsx and apps/web/src/components/LeftNav.tsx, plus the TITLES map in apps/web/src/App.tsx. Choose a small translation helper and an en strings file, then move one area (the auth forms and left menu) behind readable keys like auth.login.submit. Claim the issue first, and done means the English UI looks unchanged while a second language file changes the converted screens.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Difficulty: Intermediate · Estimated size: 2 to 3 days (can be split by page)
Context
All text is written directly in the components. Commune has users in many countries, and people have asked for other languages.
Problem or goal
Lay the groundwork for translations without changing how the app looks.
Suggested approach
- Add a tiny translation helper (no heavy library needed to start, or use a small one such as
i18nextif you justify it) and anenstrings file. - Convert one area first, for example the auth forms and the left menu, so the pull request stays reviewable. Keep the keys readable (
auth.login.submit). - Make the language come from the browser, with a manual override saved in
localStorageinsidetry/catch. - Document how to add a language.
Where to look
apps/web/src/components/AuthForm.tsxapps/web/src/components/LeftNav.tsxapps/web/src/App.tsx(TITLES)
Acceptance criteria
- The English UI is identical to before.
- Adding a second language file changes the converted screens.
- Dates and numbers use
Intlwith the chosen language. - Bundle size grows by less than a few KB.
Out of scope
Translating the legal pages and the emails, and right-to-left layouts (follow-up issues).
How to work on it
- Comment here to claim it, so two people do not do the same work.
- Fork the repo and branch from
main(feat/short-nameorfix/short-name). Setup steps are in docs/DEVELOPMENT.md. - Keep the change focused and add tests for backend logic.
- Run
npm run typecheck,npm testandnpm run lintandnpm run formatbefore opening the pull request. - Use a Conventional Commits title (for example
feat(web): add bookmarks). More in CONTRIBUTING.md.
Stuck? Ask in this issue. Questions are welcome.
Generated by Claude Code
- Lingua principale
- TypeScript
- Stelle
- 6
- Fork
- 6
- Merge medio
- 1h 59m
- PR unite (30g)
- 59
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Haseeb-MernStack/commune
-
enhancement good first issue web
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Haseeb-MernStack/commune#141 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Haseeb-MernStack/commune#138 ·
I maintainer di solito rispondono entro 1 giorno
-
api good first issue tests
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
Haseeb-MernStack/commune#132 ·
I maintainer di solito rispondono entro 1 giorno
-
ci good first issue tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Haseeb-MernStack/commune#133 ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility good first issue web
Difficoltà 2/5 Mezza giornata Idoneità per principianti 74/100
Haseeb-MernStack/commune#117 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Haseeb-MernStack/commune
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
agent-canvas bug oh-gpt-fleet priority:medium ready-for-dev UI/UX
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue javascript test
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
writerslogic/scrivener-mcp#272 ·
I maintainer di solito rispondono entro 1 giorno
-
bug triaged tui ux wontfix
Difficoltà 2/5 Mezza giornata Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno