Laravel Lang 項目 zh_HK(香港繁體中文)語言包完成狀態分析:38 個缺失鍵全清單與翻譯質量評估

发布时间:2026/9/28 3:10:25
Laravel Lang 項目 zh_HK(香港繁體中文)語言包完成狀態分析:38 個缺失鍵全清單與翻譯質量評估 后端【免费下载链接】langList of 128 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova and Laravel UI.项目地址https://gitcode.com/gh_mirrors/la/lang点击查看免费下载本指南基於 Laravel Lang 開源倉庫的 docs/statuses/zh_HK.md 完成狀態報告結合 locales/zh_HK/ 目錄下的實際翻譯文件與各source子包系統梳理 zh_HK香港繁體中文語言包的翻譯缺口全倉庫 128 種語言平均完成度為97.82%147.1K / 150.4K而 zh_HK 尚有38 個鍵未翻譯json 32 個、php 3 個、php-inline 3 個。讀者通過本文可準確掌握這 38 個缺失鍵的完整清單、來源模塊Laravel Cashier / Nova / Passkeys / Framework 驗證器、與已完成翻譯的質量對比以及定位和補全翻譯的具體方法。一、背景Laravel Lang 與 zh_HK 語言包的定位Laravel Lang 項目為 Laravel 生態提供多語言包覆蓋 Laravel Framework、Jetstream、Fortify、Breeze、Cashier、Nova 與 UI 等多個官方組件共收錄 128 種語言。每一種語言的翻譯文件按三種格式存放於 locales/ 目錄文件用途json.jsonLaravel 前端/組件使用的 JSON 翻譯按原文鍵查找如 Nova 資源管理、Cashier 賬單、Passkeys 登入等界面文案php.jsonLaravel 驗證器Validator使用的 PHP 翻譯按規則鍵查找如required、email等驗證規則消息json-inline.jsonJSON 格式的「內聯」驗證消息不含:attribute前綴直接指向欄位本身php-inline.jsonPHP 格式的「內聯」驗證消息不含:attribute前綴_excludes.json有意不翻譯、保留原文的鍵清單如API Token、ID、Nova等專有名詞zh_HK 語言包即位於 locales/zh_HK/其整體完成狀態由 docs/status.md 統一匯總而每個語言的缺失細節記錄在 docs/statuses/zh_HK.md。二、完成狀態總覽38 個缺失鍵的分佈根據 docs/statuses/zh_HK.md 的報告zh_HK 語言包共缺失38 個鍵分佈如下文件類型缺失數量json32php-inline3php3合計38值得注意的是json-inline.json沒有缺失記錄說明其 15 個鍵locales/zh_HK/json-inline.json已全部翻譯完成。整體而言zh_HK 的翻譯完成度處於全倉庫中上水平與整體 97.82% 的完成度相當。三、json 缺失鍵全清單32 個與來源模塊分析狀態報告以表格形式逐條列出缺失鍵的 Key 與 Value即當前仍顯示的英文原文。以下按功能來源模塊歸類整理3.1 Laravel Cashier賬單與發票相關Key缺失鍵當前英文原文Invoice Email AddressesInvoice Email AddressesInvoice emails updated successfully.Invoice emails updated successfully.Please provide a maximum of three invoice emails addresses.Please provide a maximum of three invoice emails addresses.The invoice emails must be valid email addresses.The invoice emails must be valid email addresses.We will send an invoice download link to the email addresses that you specify below. You may separate multiple email addresses using commas.We will send an invoice download link to the email addresses that you specify below. You may separate multiple email addresses using commas.If you need to add specific contact or tax information to your invoices, like your full business name, VAT identification number, or address of record, you may add it here.If you need to add specific contact or tax information to your invoices, like your full business name, VAT identification number, or address of record, you may add it here.Please set a default payment method before retrying payments.Please set a default payment method before retrying payments.This payment was initiated, but the funds have not been received yet. This can take up to 14 days.This payment was initiated, but the funds have not been received yet. This can take up to 14 days.這些鍵集中於 Cashier 的發票郵件管理新增/更新收件電郵、發票下載鏈接、最多三個電郵地址的校驗以及付款重試與資金到賬提示均可在 source/cashier/ 的 JSON 源文件中找到對應原文。3.2 Laravel Passkeys無密碼登入相關Key缺失鍵當前英文原文Passkey not recognized. It may have been removed from your account.Passkey not recognized. It may have been removed from your account.Passkey registration session expired. Please try again.Passkey registration session expired. Please try again.Passkey verification session expired. Please try again.Passkey verification session expired. Please try again.Unable to register passkey. Please try again.Unable to register passkey. Please try again.Unable to register this passkey.Unable to register this passkey.Unable to verify passkey. Please try again.Unable to verify passkey. Please try again.Unable to sign in with this account.Unable to sign in with this account.User SecurityUser Security這組鍵來自 source/passkeys/ 子包對應 Passkeys 註冊、驗證、會話過期與登入失敗等安全場景是 Laravel 新興無密碼認證能力的界面文案。3.3 Laravel Nova資源管理相關Key缺失鍵當前英文原文Action EventAction EventAction EventsAction EventsDelete NotificationDelete NotificationExport As CSVExport As CSVMark all notifications as readMark all notifications as readOKOKThe selected resources have been :action!The selected resources have been :action!這些鍵來自 source/nova/涉及 Nova 的 Action 事件、通知刪除/全部標記已讀、CSV 導出等管理後台操作。其中The selected resources have been :action!包含:action佔位符翻譯時需要保留。3.4 Laravel Framework郵箱驗證 / 認證 / 環境加密相關Key缺失鍵當前英文原文Email VerificationEmail VerificationVerify your email addressVerify your email addressReset your passwordReset your passwordSecure AreaSecure AreaUsernameUsernameInvalid credential format.Invalid credential format.The existing encrypted environment file is not in readable format. Use --force to overwrite it.The existing encrypted environment file is not in readable format. Use --force to overwrite it.The existing encryption key is required to update the encrypted environment file.The existing encryption key is required to update the encrypted environment file.Unable to write the encrypted environment file.Unable to write the encrypted environment file.最後三條與env:encrypt/env:decrypt加密環境文件命令相關來源於 source/framework/ 子包。四、php 與 php-inline 缺失鍵各 3 個Laravel 驗證器新增規則php與php-inline兩類文件的缺失鍵完全相同均為 Laravel 驗證器較新加入的三條規則規則鍵php帶:attributephp-inline不帶:attributearray_keysThe :attribute field must only contain the following keys: :values.This field must only contain the following keys: :values.base64The :attribute field must be a valid Base64 string.This field must be a valid Base64 string.encodingThe :attribute field must be encoded in :encoding.This field must be encoded in :encoding.從 locales/zh_HK/php.json 可見其餘驗證規則required、email、min、max、regex、uuid、password.*等均已翻譯為繁體中文唯獨array_keys、base64、encoding三條仍為英文原文——它們是 Laravel 框架較晚引入的驗證規則zh_HK 語言包尚未跟進補齊。五、有意保留原文的鍵_excludes.json 的設計需要區分「缺失」與「有意排除」。zh_HK 的 locales/zh_HK/_excludes.json 明確列出了 9 個不翻譯、保留英文的鍵[ API Token, API Tokens, CSV (.csv), Email, email, Excel (.xlsx), ID, Nova ]這些屬於專有名詞、文件格式擴展名或產品名如Nova在繁體中文界面中保留英文原文是慣例做法不會被計入缺失統計。這也提示貢獻者在補全翻譯時應先檢查目標鍵是否在_excludes.json中避免做無用功。六、如何定位缺失鍵的準確來源狀態報告只給出鍵名與英文原文要確認其精確來源與上下文可以按以下路徑在倉庫內定位在 source/ 各子包framework、cashier、nova、passkeys、jetstream、breeze、fortify、ui等的 JSON 源文件中搜索對應英文原文對比 locales/zh_HK/json.json該文件中已翻譯的鍵如A decryption key is required.: 需要解密密鑰。與缺失鍵混排缺失鍵的特徵是 Key 與 Value 相同即仍是英文驗證器類的缺失鍵array_keys、base64、encoding則直接對照 source/framework/ 下的 PHP 驗證源文件確認其為 Laravel Validator 的內建規則消息。七、補全翻譯的質量基準與既有翻譯風格保持一致zh_HK 的既有翻譯質量可以作為補全缺失鍵的風格基準。從 locales/zh_HK/json.json 抽取的典型示例A fresh verification link has been sent to your email address.→ 「一封新的驗證連結已經發送到您的電郵地址。」Add a new team member to your team, allowing them to collaborate with you.→ 「新增一名團隊成員至您的團隊讓他們與您合作。」Are you sure you want to delete your account?→ 「您確定要删除您的帐户嗎」Are you sure you want to log out?→ 「您確定要登出嗎」從 locales/zh_HK/php.json 可見驗證消息的既有風格accepted: 必須接受 :attribute。between.string: :attribute 必須介乎 :min 至 :max 個字符之間。throttle: 您嘗試的登入次數過多請在 :seconds 秒後再試。補全array_keys、base64、encoding時應沿用上述「必須 / 有效的 / 編碼為」等既有用語與繁體字電郵、賬戶、檔案、連結、登入體系並保留:attribute、:values、:encoding佔位符。八、貢獻翻譯的實操建議對於希望補全 zh_HK 缺失鍵的開發者基於倉庫現有結構操作步驟如下閱讀 docs/statuses/zh_HK.md 確認當前缺失清單本報告由倉庫工具自動生成隨翻譯進度實時更新在 locales/zh_HK/json.json 中將對應缺失鍵的英文 Value 替換為繁體中文翻譯在 locales/zh_HK/php.json 與 locales/zh_HK/php-inline.json 中分別補齊array_keys、base64、encoding三條php 版保留:attribute前綴php-inline 版省略翻譯完成後重新生成的狀態報告會將對應鍵移出缺失清單完成度隨之提升注意保持 JSON 格式合法、保留全部佔位符並與_excludes.json的排除策略保持一致。九、結論zh_HK香港繁體中文語言包在 Laravel Lang 倉庫中完成度良好僅剩 38 個鍵待補齊集中在 Cashier 賬單發票、Passkeys 無密碼登入、Nova 資源管理與 Framework 驗證器新規則四個方向。這些缺失鍵來源清晰、上下文明確且既有翻譯提供了高質量的風格基準補全難度可控。對於同時面向香港市場與台灣市場的 Laravel 應用zh_HK 與 zh_TW 語言包可結合使用並可參考 docs/status.md 全局完成狀態表持續跟蹤各語言的翻譯進展。赞分享后端【免费下载链接】langList of 128 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova and Laravel UI.项目地址https://gitcode.com/gh_mirrors/la/lang点击查看免费下载相关推荐Laravel Lang 繁體中文zh_TW語言包翻譯狀態解析環境加密檔案的 3 個待翻譯 KeyLaravel Lang 繁體中文zh_TW語言包翻譯狀態解析環境加密檔案的 3 個待翻譯 Key 本篇文章圍繞 docs/statuses/zh_TW.后端Kilo 項目繁體中文zh-tw本地化術語規範glossary 機制、翻譯對照表與工程實踐Kilo 項目繁體中文zh tw本地化術語規範glossary 機制、翻譯對照表與工程實踐 本指南圍繞 Kilo 開源倉庫中的 繁體中文術語表.open人工智能大模型AI Agent代码智能体工具调用交互助手CLIOpenCode 繁體中文術語表解析zh-tw i18n 翻譯規範與自動同步機制OpenCode 繁體中文術語表解析zh tw i18n 翻譯規範與自動同步機制 本文以 OpenCode 仓库中的繁體中文Traditional Chin人工智能AI 应用AI Agent代码智能体CLI开发者工具上一篇突破硬字幕去除难题video-subtitle-remover如何让AI智能修复变得简单高效下一篇从源码到应用jQuery Reel实现原理深度剖析创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

关于本文作者

来自尧图内容编辑团队

尧图内容编辑团队 内容团队

尧图内容编辑团队

本文由尧图网络内容编辑团队执笔。团队由资深项目经理、前端工程师与设计师组成,所有内容均来自亲手交付的真实项目,先讲清问题、再给出可落地的解法。尧图深耕北京网站建设十年,服务过京华建材集团、智造科技等各行业客户,把一线经验沉淀为可复用的行业观察。

  • 十年建站经验,覆盖建材、制造、服务、文创等
  • 项目经理把关选题与事实准确性
  • 工程师与设计师联合撰写专业细节
  • 统一编辑规范,保证文风与排版一致
  • 每月复盘转化数据,迭代选题方向

延伸阅读

相关资讯与近期热门内容

深度阅读推荐

建站决策前值得细读的三篇

网站改版的5个关键决策
2024-08-12

网站改版的5个关键决策

什么时候该改版、改到什么程度、如何避免流量掉光,京华建材集团改版复盘给出答案。

获取专属建站方案

看完文章,把您的行业与预算告诉我们,免费获取一份量身定制的官网建设方案与报价。

立即免费咨询