內容簡介
WP Override Translations 讓使用者能夠輕鬆地在 WordPress、WooCommerce 及外掛/佈景主題的翻譯中覆蓋任何文字字串,無需編輯程式碼,直接從控制台進行操作。
【主要功能】
• 覆蓋任何 WordPress 核心、外掛或佈景主題的文字字串
• 完全支援 WooCommerce,適用於電子商務網站
• 支援翻譯中的 HTML 標籤(如粗體、連結等)
• 基於 CSS 選擇器的 DOM 字串替換,適用於動態內容
• 實時 JavaScript 翻譯,適用於動態元素
外掛標籤
開發者團隊
② 後台搜尋「Override String Translations」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
WP Override Translations allows you to easily override any text string in WordPress, WooCommerce, and plugin/theme translations directly from your admin panel – no code editing required!
🔒 Security First (v3.0.0)
* CSRF protection with WordPress nonces
* User capability validation
* XSS prevention with secure coding practices
* No inline JavaScript handlers
⚡ High Performance (v3.0.0)
* Modern MutationObserver API for DOM changes (replaces resource-heavy intervals)
* Pre-built translation maps for faster processing
* Optimized JavaScript with comprehensive error handling
* Graceful fallback for older browsers
✨ Key Features:
* Override any WordPress core, plugin, or theme text strings
* Full WooCommerce compatibility for e-commerce sites
* Support for HTML in translations (bold, links, etc.)
* CSS selector-based DOM string replacement for dynamic content
* Translates all _e(), __(), gettext, and ngettext calls
* Real-time JavaScript translation for dynamic elements
* WordPress coding standards compliant
📝 What You Can Translate:
* WordPress core strings
* WooCommerce product pages, checkout, cart messages
* Plugin and theme text strings
* Button labels, error messages, form fields
* Any string that uses WordPress translation functions
❌ Limitations:
Dynamic strings with placeholders like %s or %d cannot be translated (e.g., “%s has been added to your cart”).
