Ls Gtrans Widget

描述

Do you need a simple way to add Google Translate to your WordPress site? If WordPress security restrictions prevent you from embedding translation scripts, this plugin is the solution.

The Ls Gtrans Widget adds a select box to your sidebar, allowing visitors to translate the current page into over 25 European languages using Google Translate. Once a user selects a language, the translation opens in a new tab at Google Translate. The original language is auto-detected.

Key Features:

  • Over 25 European languages supported.
  • Multisite ready.
  • No coding required—just drag and drop the widget to your sidebar.

螢幕截圖

  • Widget settings screen: Configure the widget title in the WordPress admin.
  • Widget in frontend: The select box displayed on a website sidebar.

安裝

  1. Upload the ls_gtrans_widget folder to the /wp-content/plugins/ directory, or install it directly via the WordPress plugin repository.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to your Widgets page (Appearance > Widgets) and drag the Translation in Google widget to your desired sidebar or widget area.
  4. Customize the widget title if needed, and you’re done!

常見問題

Can I use this plugin on a multisite installation?

Yes, the plugin is multisite compatible.

Does the plugin work with non-European languages?

This version supports over 25 European languages. For other languages, modifications to the code may be required.

Is it compatible with the latest versions of WordPress and PHP?

Yes, the plugin is tested up to WordPress 6.1.1 and PHP 8.1+.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Ls Gtrans Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Ls Gtrans Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.1

  • WordPress 6.7.1 compatibility check

2.0.1

  • Replaced a deprecated function for improved compatibility.

2.0

  • Verified compatibility with WordPress 6.1.1 and PHP 8.1+.
  • Improved code to align with WordPress coding standards.

1.2

  • Added compatibility check for WordPress 4.9.

1.1

  • Replaced the deprecated $this->WP_Widget call.
  • Fixed typos in code and descriptions.

1.0

  • Initial release.