[WordPress] 外掛分享: InstantTranslate Widget

首頁外掛目錄 › InstantTranslate Widget
10+
安裝啟用
尚無評分
5673 天前
最後更新
問題解決
WordPress 3.0.1+ v1.2 上架:2010-08-17

內容簡介

「即時翻譯小工具」是我第一次嘗試製作的 WordPress 小工具。它位於 Widget 選單中,使用 jQuery 和 Google 翻譯快速翻譯我的部落格上的文字。它使用 jQuery 的選擇器來確定您想要翻譯的文字。例如,我使用的選擇器是「.post h2,.entry > *:not(pre), .translate」。這會翻譯所有標題、內容文字,但不包括任何 pre 標籤裡的文字。這讓我可以保持原始碼是英文,但說明可以翻譯成其他語言。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Instant Translate Widget is my first attempt at a Word Press widget. It lives in the Widget menu, and uses jQuery and Google Translate to instantly translate text on my blog. It uses jQuery’s selector to determine what text you want to translate. For example, the selector I use is, “.post h2,.entry > *:not(pre), .translate”. Which translates all of my titles, and entry text and not any thing within PRE tags. This lets me keep my code in English, but translate the explanation.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon