add Greek localisation

Aperta
#652 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bootstrap, react, typescript

Direzione di ricerca

Inizia con src/i18n/locales/en.json e il controllo di completezza introdotto in #647, quindi esamina src/i18n/index.ts, incluso formatLanguageLabel(). Aggiungi la locale greca con le chiavi corrispondenti, registrala nel selettore della lingua e verifica la tipografia e il layout greci nel modulo, nel pannello degli avvisi e nel selettore. Il lavoro è completato quando il controllo di completezza ha esito positivo, la terminologia è stata revisionata da una persona greca e non rimangono glifi mancanti o problemi di layout.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Context

Derived from requirement RF-PCE-002. Part of #647.

Scope

Add the Greek (el) UI localisation: translate every string the editor exposes, using
en.json as the reference for the key structure.

Greek is the first locale in the editor that does not use the Latin alphabet, so this
one carries some work the other translations do not: the design system's typography has
to render the script correctly, and nothing in the layout may assume Latin-script string
widths.

Affected areas

  • src/i18n/locales/el.json — new file, mirroring the keys of en.json (~23 KB)
  • src/i18n/index.ts — register the locale so it appears in the language picker
  • formatLanguageLabel() in src/i18n/index.ts — it uppercases the Intl.DisplayNames
    output, and uppercasing Greek removes accents (Ελληνικά → ΕΛΛΗΝΙΚΑ). That is correct
    Greek orthography, but the result should be checked rather than assumed.

Non-functional constraints

  • RNF-PCE-006 — Long-term sustainability: the translation has to stay complete after
    merge, so it must pass the completeness check introduced in #647.

Acceptance criteria

  • el.json covers every key present in en.json
  • The locale is selectable in the language picker
  • The translation is reviewed by a Greek speaker
  • Terminology is consistent with the publiccode.yml specification: field names and
    standard terms keep their meaning rather than being translated ad hoc
  • Greek text renders correctly in the Bootstrap Italia / Design React Kit
    typography, with no missing glyphs or fallback fonts
  • No layout breakage in the form, warnings panel or language picker from non-Latin
    script
Lingua principale
TypeScript
Stelle
33
Fork
34
Merge medio
10h 50m
PR unite (30g)
13

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di italia/publiccode-editor

Tutte le issue di italia/publiccode-editor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.