Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Bug: Missing translation in MobileNav Language Select Overlay

Đang mở
#3,928 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

@pranjal270 đang làm issue này rồi.

Từ ngày 24/2/2026.

  • #3935 của @pranjal270 — đã đóng, không merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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!**
Ngôn ngữ chính
JavaScript
Star
1.7k
Fork
1.7k
Merge trung bình
6 ngày
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của processing/p5.js-web-editor

Tất cả issue của processing/p5.js-web-editor

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.