=== Ls Gtrans Widget === Contributors: lenasterg, nts Tags: google translate, widget, language switcher, translation Requires at least: 4.0 Tested up to: 6.7.1 Requires PHP: 5.6 Stable tag: 2.2.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html Widget with a select box for Google translation of the current page. Includes more than 25 European languages. == Description == 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](https://translate.google.com/). 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. == Installation == 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! == Frequently Asked Questions == = 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 adding or removing languages, use `ls_gtrans_available_languages` filter. == Screenshots == 1. **Widget settings screen**: Configure the widget title in the WordPress admin. 2. **Widget in frontend**: The select box displayed on a website sidebar. == Changelog == = 2.2.1 = * Accessibility fix = 2.2.0 = * Accessibility fixes * Extensibility, Added `ls_gtrans_available_languages` filter hook to allow developers to add or remove languages programmatically. = 2.1.1 = * Fix a typo = 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.