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

Bug: Missing translation in MobileNav Language Select Overlay

Aperta
#3,928 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

@pranjal270 ci sta già lavorando.

Dal 24/2/2026.

  • #3935 di @pranjal270 — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Area: Translation Bug
p5.js version

No response

What is your operating system?

Windows

Web browser and version

Version 145.0.7632.111

Actual Behavior

In the mobile view of the editor, when opening the 3-dot "More" menu and selecting "Language", the resulting Overlay modal has a hardcoded English string: "Select Language" for its title. Because this is hardcoded, it ignores the user's currently active language setting and will always display in English. This was explicitly marked with a // TODO: add translations by the original developer in MobileNav.jsx (line 385).

Image
Expected Behavior

The overlay title should use the t() translation hook for localization so the popup title translates properly when the editor language is changed to Spanish, Hindi, etc.

Steps to reproduce
Steps:
  1. Open the p5.js Web Editor on a mobile viewport (or shrink the browser window).
  2. Open account settings and change the language to anything other than English.
  3. Click the 3-dot "More" menu (⋮) in the top right.
  4. Click "Language".
  5. Observe that the overlay title says "Select Language" in English instead of the translated string.
Snippet:
// client/modules/IDE/components/Header/MobileNav.jsx (line 385)
<Overlay
  // TODO: add translations
  title="Select Language"
  ariaLabel="Select Language"
  closeOverlay={() => setIsLanguageModalVisible(false)}
>

**I would like to work on this issue and submit a PR fixing it!**
Lingua principale
JavaScript
Stelle
1.7k
Fork
1.7k
Merge medio
3g 18h
PR unite (30g)
7

Preparare l'ambiente

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 processing/p5.js-web-editor

Tutte le issue di processing/p5.js-web-editor

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.