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

Hard-coded English in the language selector, the image and file index and the text page digest

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

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

@guidol-ive đang làm issue này rồi.

Từ ngày 28/10/2026.

  • #611 của @guidol-ive — đang mở

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
internationalization

Hướng nghiên cứu

The affected entry points are system/core/language.php, system/datatypes/index.php, system/datatypes/text.php, and system/core/communication.php; the issue links pull request #611, which contains a suggested fix. Review that pull request and the listed reproduction steps for the expected behavior. Done means the Dutch interface uses dictionary text and each digest translation shows its own page name.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Component: User interface Impact: Low Level: Easy Pagetype: Text Type: Bug Value: Users

A few texts of the interface are written in English in the code instead of taken from the dictionaries, so a Dutch interface shows them in English. One of them also shows the wrong page name.

Where Text on a Dutch interface Code
language selector of translate and new page (group labels) in use, add new system/core/language.php:48,61
index/images, index/files image index is not yet implemented system/datatypes/index.php:24,29
digest e-mail, text page section update (last version ...), new translation, new page system/datatypes/text.php:341
digest e-mail, every entry with changes view changes system/core/communication.php:163

In the same digest section every translation is listed under the page name of the current content language: a change of en/Home appears as Start (en), because textpage::digest() uses $this->pagename for every language (text.php:337).

Not included: the keys of #557 (page index and tag index titles, festival, settings) and the datatype names of #575; and the choice of the digest language (it is the language of whoever triggers it, see #181).

Steps to reproduce (fictional site, PHP 8.2 container of docs/container): log in, open nl/Start/translate: the language list has the groups in use and add new. Open index/images: image index is not yet implemented.

Suggested fix. Add the keys languages-in-use, languages-add-new, index-not-implemented, digest-update, digest-new-translation, digest-new-page and digest-view-changes to en.php and nl.php and use them; take the name of each translation in the digest from the page list node. The linked pull request does that.

Tested in the PHP 8.2 and 8.5 containers of docs/container with a fictional test site: reproduces on main (d97ab7b), gone with the linked pull request, which is offered as a suggestion and a starting point.

🤖 Generated with Claude Code

Ngôn ngữ chính
JavaScript
Star
5
Fork
9
Merge trung bình
18 giờ 7 phút
Pull request đã merge (30 ngày)
11

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 PlanBCode/hypha

Tất cả issue của PlanBCode/hypha

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.