[WordPress] 外掛分享: Debug Bar Localization

首頁外掛目錄 › Debug Bar Localization
WordPress 外掛 Debug Bar Localization 的封面圖片
20+
安裝啟用
★★★★★
5/5 分(2 則評價)
3610 天前
最後更新
問題解決
WordPress 4.0+ v1.1 上架:2016-01-12

內容簡介

Debug Bar Localization 加入了一個新的面板到 Debug Bar,顯示你的安裝區域和加載的語言文件的相關信息。

此外,它還會顯示:

已安裝的語言。
當翻譯函數被調用時未找到該文本域的load_..._textdomain()調用。
load_..._textdomain()被呼叫超過一次的文本域有哪些。
WordPress 嘗試加載以獲取翻譯的文件以及是否成功。
如果成功:找到了多少個翻譯字符串以及翻譯最後更新的時間。

你知道嗎?

在創建和持續開發此外掛時,我在 WordPress 內發現了有關本地化的性能問題和錯誤。

我為每個問題提交了補丁,最終的結果都在 WordPress 核心中實現了。

想了解更多嗎?這裡是:Trac 35439 和 Trac 35442(以及相關的:Trac 21319)

重要事項

此外掛需要已安裝並啟用< a href="https://wordpress.org/plugins/debug-bar/" rel="ugc">Debug Bar 。

請注意,此外掛僅應用於調試和/或開發環境,不適用於生產網站。

如果你喜歡此外掛,請評價或回顧它。如果你對如何使外掛更好或發現任何錯誤有想法,請在支援論壇或GitHub 存儲庫中報告這些問題。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Debug Bar Localization」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Debug Bar Localization adds a new panel to the Debug Bar which displays information on the locale for your install and the language files loaded.
Additionally it will show you:

The installed languages.
Which text-domains were called from translation functions while no load_..._textdomain() call was found for that text-domain.
For which text-domains load_..._textdomain() was called more than once.
Which files WP tried to load to obtain a translation and whether this was successful.
If successful: how many translated strings were found and when the translation was last updated.

Did you know ?
During the creating and continued development of this plugin a – localization related – performance issue and a bug were found in WordPress itself.
For each of these I’ve send in patches. The end-results are now in core.
Want to know more ? Here they are: Trac 35439 and Trac 35442 (and related: Trac 21319 )

Important
This plugin requires the Debug Bar plugin to be installed and activated.
Also note that this plugin should be used solely for debugging and/or in a development environment and is not intended for use on a production site.
If you like this plugin, please rate and/or review it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the Support Forum or in the GitHub repository.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon