[WordPress] 外掛分享: Gettext override translations

首頁外掛目錄 › Gettext override translations
2,000+
安裝啟用
★★★★★
5/5 分(7 則評價)
660 天前
最後更新
問題解決
WordPress 4.0+ v2.0.2 上架:2016-08-04

內容簡介

此外掛可讓您在管理面板中覆蓋預設文字。
原本是為覆蓋 Woocommerce 的文字而建立,但也可作用於 WordPress Core 及其他外掛所添加的文字。

它將會翻譯所有 _e(”) 或 __(”) 字串呼叫,請查看您需要翻譯的外掛或佈景主題的 PHP 原始碼。

它不會翻譯任何動態字串,例如 %s 或 %d,因此 “%s 已新增至您的購物車。” 是無法翻譯的。

它不會翻譯任何包含 HTML 標記的字串。

以下是一些 WooCommerce 的範例:
WooCommerce "選擇選項"(下拉式選單值)設定:
完整螢幕截圖 3
WooCommerce "選擇選項"(下拉式選單值)翻譯結果:
完整螢幕截圖 4
WooCommerce "訂單備註" 設定:
完整螢幕截圖 5
WooCommerce "訂單備註" 翻譯結果:
完整螢幕截圖 6

由以下網站編碼:MijnPress.nl Twitter profile 更多外掛

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.2) 或搜尋安裝

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

原文外掛簡介

Lets you override default texts from your admin panel.
Originally built to override texts from Woocommerce, but also works for all neatly added texts by WordPress Core and plugins.

It will translate all _e(”) or __(”) string calls, so check the PHP sourcecode of the plugin or theme you need to translate.

It will NOT translate any dynamic strings like %s or %d, so “%s has been added to your cart.” is not translatable.

It will NOT translate any strings that contain HTML tags at all.

Some WooCommerce examples:
WooCommerce “Select option” (dropdown value) setting
Fullscreen Screenshot 3
WooCommerce “Select option” (dropdown value) translation result
Fullscreen Screenshot 4
WooCommerce “Order notes” setting
Fullscreen Screenshot 5
WooCommerce “Order notes” translation result
Fullscreen Screenshot 6
Coding by: MijnPress.nl Twitter profile More plugins

延伸相關外掛

文章
Filter
Apply Filters
Mastodon