feat(ui): player language setting and translated player screens
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- frontend, internationalization
Direzione di ricerca
Start by reading the UI entry points for the header, table settings, action panel, connection and winner banners, and seat prompts, then inspect the club setting catalog at src/club/settings/catalog.ts for the existing language setting. Check the repository's test setup before choosing where to cover the typed translation helper, local storage, and browser-language matching. Done means all 16 languages can be selected in the lobby and table, the choice survives reloads, and the specified screens switch languages; an open linked pull request already indicates work is underway.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What
A player chooses the language they want Block52 in. The choice sticks, and the player-facing screens switch to it straight away.
What exists today
Nothing. Searched ui, poker-vm, pokerchain, block52-club and block52-chat: no i18n library, no language setting. All UI text is hard-coded English. The only related item is the club setting profile.language ("Default language — players can still change their own") in block52-club src/club/settings/catalog.ts, marked "to build".
Languages (16)
English, Spanish, Portuguese, German, French, Italian, Russian, Turkish, Arabic, Hindi, Chinese (Simplified), Japanese, Korean, Vietnamese, Thai, Indonesian.
Scope
- Language picker: a globe button in the header and a row in the table's settings panel, opening a list with a tick beside the current language. Each language is shown in its own script.
- First visit: use the browser's language when we support it, otherwise English. After that, the player's choice wins (stored in localStorage).
- Small typed
t()helper insrc/i18n/. A language missing a string fails the type check. No new dependency. - First pass of translated text: header/navigation, action panel, table settings, connection banner, winner banner, and the seat/sit-out prompts.
- Arabic is right-to-left: text flows correctly, but the table layout stays as is so seats don't mirror.
Not in this ticket
- Admin, explorer and bridge pages stay English for now.
- Auto-translating messages sent by clubs: Dzeezbtc/block52-club (separate ticket).
- Player chat translation.
Acceptance
- A player can pick any of the 16 languages from the lobby and from the table.
- The choice survives a reload.
- Unit tests cover the helper, the storage and the browser-language match.
- Translations get a native-speaker check before being advertised (first pass is machine-written).
Labels wanted: feature, UI, ux (our account can't label on block52/ui).
- Lingua principale
- TypeScript
- Stelle
- 2
- Fork
- 5
- Merge medio
- 21h 50m
- PR unite (30g)
- 104
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 block52/ui
-
enhancement tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
feat(ui): player notes and tags — click a seat to note a player; tag icons (fish, shark, tight, loose…) show by their pillForse già presa @Dzeezbtc l’ha presa 4 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
architecture refactor tech debt
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
-
feat(ui): antes on the create form — on/off, start level and size, with the schedule in the previewForse già presa @bitcoinbrisbane l’ha presa 8 giorni fa. Apertafeature lobby sit-and-go
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
area: web bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
kinqsradio/orbyn-engineering#227 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
joeldesante/TurfBuilder#258 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ncecere/open-mcp-portal#85 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
loathers/garbage-collector#2865 ·
I maintainer di solito rispondono entro 1 giorno
-
test-reliability
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Azure/azure-sdk-for-js#40672 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno