-
Notifications
You must be signed in to change notification settings - Fork 3.1k
feat(i18n): improve zh-TW translations and add missing entries #5034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(i18n): improve zh-TW translations and add missing entries #5034
Conversation
- Adjust terminology to Taiwan usage (e.g., 實例→執行個體, 保存→儲存, 刷新→重新整理) - Add missing translation keys across all existing zh-TW files - Add translations for conditions, dependencies, sbomdependencytrees, and startup pages
19236f5 to
5b0ca04
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR refines the Traditional Chinese (zh-TW) localization across the Spring Boot Admin UI, aligning terminology with Taiwan usage and filling in previously missing translations. It also introduces zh-TW translations for several newer views (conditions, dependencies, SBOM dependency trees, startup) to bring zh-TW parity with the English UI.
Changes:
- Harmonized key technical terms (e.g., 實例→執行個體, 保存→儲存, 刷新→重新整理) across the shared i18n bundle and multiple views.
- Completed and adjusted zh-TW translations for existing views (applications, instances subviews, environment, metrics, gateway, logs, etc.), ensuring placeholders and keys match the English source.
- Added new zh-TW translation files for Conditions, Dependencies, SBOM dependency trees, and Startup instance views, mirroring all English keys and interpolation variables.
Reviewed changes
Copilot reviewed 33 out of 33 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
views/wallboard/i18n.zh-TW.json |
Updates wallboard label and instance count text to match English semantics and zh-TW terminology. |
views/journal/i18n.zh-TW.json |
Adds paging and filter labels for the event journal, consistent with English keys. |
views/instances/threaddump/i18n.zh-TW.json |
Aligns thread dump texts and lock/thread field labels with the English reference. |
views/instances/startup/i18n.zh-TW.json |
New zh-TW startup view translations (label, expand-all, columns) matching the English file. |
views/instances/shell/i18n.zh-TW.json |
Localizes sidebar section titles (Insights, Caches, Dependencies, Logging, Security, etc.). |
views/instances/sessions/i18n.zh-TW.json |
Refines wording for session timestamps and status fields while keeping identifiers intact. |
views/instances/scheduledtasks/i18n.zh-TW.json |
Brings scheduled task labels (cron/fixed delay/rate, last/next execution) in line with English. |
views/instances/sbomdependencytrees/i18n.zh-TW.json |
New zh-TW strings for SBOM dependency trees and legend entries. |
views/instances/quartz/i18n.zh-TW.json |
Clarifies “no data” text and explicitly references Quartz by name. |
views/instances/metrics/i18n.zh-TW.json |
Adjusts metrics labels and messages, preserving tag-related keys and Spring Boot 1.x note. |
views/instances/mappings/i18n.zh-TW.json |
Updates mappings view terminology (class, headers, servlet name, URL pattern) to match English semantics. |
views/instances/loggers/i18n.zh-TW.json |
Refines logger configuration labels, adds group label and partial fetch failure message. |
views/instances/logfile/i18n.zh-TW.json |
Renames “logfile” label and adds translation for “wrap lines”. |
views/instances/liquibase/i18n.zh-TW.json |
Normalizes Liquibase field names like changelog, checksum, and deployment ID. |
views/instances/jolokia/i18n.zh-TW.json |
Renames feature to JMX, adds execute confirmation text, and uses “MBeans” consistently. |
views/instances/httptrace/i18n.zh-TW.json |
Aligns HTTP trace labels, metrics, filters, and error messages with the English file. |
views/instances/httpexchanges/i18n.zh-TW.json |
Completes HTTP exchanges view translation including chart, filters, fetch error, and load-new button. |
views/instances/heapdump/i18n.zh-TW.json |
Uses “Heap Dump” terminology and updates warnings about cost and sensitive data. |
views/instances/gateway/i18n.zh-TW.json |
Updates gateway route and filter operations (add/delete/refresh) with accurate zh-TW wording. |
views/instances/flyway/i18n.zh-TW.json |
Refines Flyway migration metadata labels (checksum, description, script, installed_* fields). |
views/instances/env/i18n.zh-TW.json |
Brings environment manager texts (context/bus refresh, reset/update) and refreshed configurations line in sync with English keys. |
views/instances/details/i18n.zh-TW.json |
Adjusts instance detail sections (cache, datasource, GC, health, memory, metadata, process, threads) while keeping all keys/placeholders aligned with English. |
views/instances/dependencies/i18n.zh-TW.json |
New zh-TW translations for the dependency list header (group/name/version/publisher/description/licenses). |
views/instances/configprops/i18n.zh-TW.json |
Renames configuration properties label with locally preferred wording. |
views/instances/conditions/i18n.zh-TW.json |
New conditions view translations for label, positive/negative matches, and message fields. |
views/instances/caches/i18n.zh-TW.json |
Switches from “暫存” to “快取” and adjusts cache manager/loading/no-results texts. |
views/instances/beans/i18n.zh-TW.json |
Updates label to “Beans” and aligns “dependencies” wording with the new terminology. |
views/instances/auditevents/i18n.zh-TW.json |
Normalizes audit log texts (support notice, loading/no-results, principal, remote address). |
views/applications/i18n.zh-TW.json |
Expands application list texts (actions, status aggregates, notifications, shutdown/restart/unregister flows) to match the English feature set. |
views/about/i18n.zh-TW.json |
Corrects spacing and simplifies the about label. |
shell/i18n.zh-TW.json |
Adds translation for the “Signed in as” navbar entry. |
login/login.i18n.zh-TW.json |
Adds a zh-TW error message for “login required” with the {code} placeholder preserved. |
i18n/i18n.zh-TW.json |
Updates shared terms (instances/applications counts, health status, pagination/filters, time units) and adds missing generic labels to mirror i18n.en.json. |
- sessions: Sessions → 工作階段 - httpexchanges: HTTP Exchanges → HTTP 交換 - httptrace: HTTP Traces → HTTP 追蹤 - gateway: Gateway → 閘道, Filters → 篩選器 - dependencies: Group → 群組 - details: Daemon → 背景執行緒 - mappings: Headers → 標頭, Filter 名稱 → 篩選器名稱
8980a03 to
0ad4af7
Compare
|
Hi @tan9! Thanks for your contribution! We are happily merging your PR! |
Summary
Changes