Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Name languages in the interface language inside messages

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript

Direzione di ricerca

Start with languageLabel.js to understand when messages use interface language or a language’s native name, then inspect the listed call sites in LanguagesSection.jsx, useTranslationVersions.js, ExportCreator.jsx, and mediaUsageDisplay.js. Check existing tests around those messages and add assertions for sentence style and the decision on labelled lists. Done means sentence style messages follow languageLabel and tests cover the chosen list behavior.

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

Descrizione

enhancement

Some messages mix languages, like "Ελληνικά added." or "Ελληνικά version created."; inside an English sentence the language should read "Greek". Revisit later.


languageLabel.js documents the rule: inside an English sentence a language is named in the interface language ("Greek"), while pickers, tabs and the public switcher use its own name ("Ελληνικά"). Server errors follow it (languageNameForMessage in contentLanguage.js) and so does the removed-language banner, but several editor messages put the native name in an English sentence: "Ελληνικά added." / "… removed." (nameOf in app/src/components/projects/LanguagesSection.jsx ~42), "Ελληνικά version created." (useTranslationVersions.js ~81), the export's "Français has no homepage…" (ExportCreator.jsx, skipped languages), and the Media "Used in" tags "About (Ελληνικά)" / "Header (Global, Ελληνικά)" (mediaUsageDisplay.js ~74, ~110 — a list, so possibly fine). Owner, 2026-10-19: "we probably shouldn't mix languages like 'Ελληνικά added.'" — revisit later.

Done when: Every sentence-style message uses languageLabel, the labelled lists are decided either way, and tests assert the names.

Start: languageLabel.js, LanguagesSection.jsx, useTranslationVersions.js.

Lingua principale
JavaScript
Stelle
162
Fork
6
Merge medio
12h 55m
PR unite (30g)
2

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 tsiger/widgetizer

Tutte le issue di tsiger/widgetizer

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.