內容簡介
總結:這個外掛強制 Cloudflare Turnstile 使用目前的網站語言,而非保存的外掛設定。尤其適用於使用 WPML 的多語言網站,但也能在單語言網站上依賴 WordPress 核心語言偵測功能運作。
問題與答案:
<ul>
<li>
問:此外掛的特點是什麼?
答:動態將目前語系對應到支援的 Turnstile 語言;尊重 Simple Cloudflare Turnstile 的設定畫面(不會覆蓋那裡的數值);無需額外設定即可自動運作;在 WPML 不可用時回退至 WordPress 核心語系。
</li>
<li>
問:使用這個外掛的前提是什麼?
答:必須安裝並啟用「Simple Cloudflare Turnstile」外掛;在高級多語言設置時,可選擇安裝 WPML。
</li>
</ul>
外掛標籤
開發者團隊
② 後台搜尋「Automatic Language Mapper for Simple Cloudflare Turnstile」→ 直接安裝(推薦)
原文外掛簡介
This plugin forces Cloudflare Turnstile to use the current site language instead of the saved plugin setting.
It is especially useful for multilingual sites using WPML, but it also works on single-language sites by relying on WordPress core locale detection via determine_locale().
Features:
Dynamically maps the current locale to a supported Turnstile language.
Respects the Simple Cloudflare Turnstile settings screen (does not override values there).
Works automatically with no additional settings.
Falls back to WordPress core locale when WPML is not available.
Requirements:
The plugin “Simple Cloudflare Turnstile” must be installed and active.
Optionally, WPML for advanced multilingual setups.
