
外掛標籤
開發者團隊
② 後台搜尋「Kzdev String Translations for Polylang」→ 直接安裝(推薦)
原文外掛簡介
Kzdev String Translations for Polylang (formerly “Manual Translations for Polylang”) is a lightweight utility plugin that resolves the common issue of untranslatable frontend strings (e.g. dynamic cart widgets, checkout fragments, AJAX loaders, and JS-injected content). By hooking into Polylang’s active languages, it lets you map original strings to custom translation values and applies them client-side in real-time.
This plugin is independent from Polylang: Polylang is a trademark of WP SYNTEX, the manufacturer of the Polylang plugin. This plugin is not affiliated with, endorsed by, or sponsored by WP SYNTEX.
Features
Centralized translation management UI under the Polylang “Languages” menu
Client-side text replacement engine powered by MutationObserver
Instant translation of dynamic AJAX changes (like WooCommerce cart increments, checkout updates)
No page reloads – fully reactive dashboard
Selectable rows per page (10, 20, 50, 100) and live instant filtering
One-click CSV Export (selected or all translations)
Seamless CSV Import (Merge or Overwrite mode)
AI Translation Helper for posts, terms, and UI strings (optional, see “External services”)
Deep security integration (nonces, user capabilities, output escaping, validated sanitization)
Safe database-only storage in WordPress Options (no custom tables, no file clutter)
Graceful fallback to the default site locale if Polylang is missing or disabled
Storage
Translations are stored safely in the database using the WordPress Options API. No custom database tables are created, and no template or script files are generated.
External services
This plugin offers an optional AI Translation Helper. When enabled by the site administrator, it sends data to an OpenAI-compatible API:
Service: OpenAI-compatible Chat Completions API (configurable endpoint, defaults to api.openai.com).
Data sent: The source text to be translated (a UI string, post title/content/excerpt, or term name/description) together with the target language, a system prompt, and the configured API key for authentication.
When: Data is sent only when an administrator explicitly triggers an AI translation action and a provider (with API key) has been configured. No data is sent automatically, in the background, or on the public frontend.
Data storage: The API key and model settings are stored in the WordPress database and used solely to authenticate translation requests.
OpenAI Terms of Use
OpenAI Privacy Policy
Site owners are responsible for the content they submit via this feature. You can disable the AI Translation Helper at any time in the plugin settings; the plugin’s manual translation features work fully without it.
