{"id":37486,"date":"2015-07-13T07:57:08","date_gmt":"2015-07-13T07:57:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ls-gtrans-widget\/"},"modified":"2026-02-20T09:00:25","modified_gmt":"2026-02-20T09:00:25","slug":"ls-gtrans-widget","status":"publish","type":"plugin","link":"https:\/\/da.wordpress.org\/plugins\/ls-gtrans-widget\/","author":327624,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.2.1","stable_tag":"2.2.1","tested":"6.7.5","requires":"4.0","requires_php":"5.6","requires_plugins":null,"header_name":"Ls Gtrans Widget","header_author":"lenasterg, NTS on cti.gr, sch.gr","header_description":"","assets_banners_color":"","last_updated":"2026-02-20 09:00:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":100,"downloads":6893,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"lenasterg","date":"2015-07-13 07:58:12"},"1.1":{"tag":"1.1","author":"lenasterg","date":"2015-12-28 15:03:28"},"1.12.2":{"tag":"1.12.2","author":"lenasterg","date":"2018-06-29 08:07:54"},"1.2":{"tag":"1.2","author":"lenasterg","date":"2017-12-13 08:25:13"},"2.0":{"tag":"2.0","author":"lenasterg","date":"2022-11-18 13:19:57"},"2.0.1":{"tag":"2.0.1","author":"lenasterg","date":"2025-01-29 08:35:27"},"2.1":{"tag":"2.1","author":"lenasterg","date":"2024-12-23 13:43:33"},"2.1.1":{"tag":"2.1.1","author":"lenasterg","date":"2025-01-29 08:35:27"},"2.2.0":{"tag":"2.2.0","author":"lenasterg","date":"2026-02-19 11:03:39"},"2.2.1":{"tag":"2.2.1","author":"lenasterg","date":"2026-02-20 09:00:25"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.12.2","1.2","2.0","2.0.1","2.1","2.1.1","2.2.0","2.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3465584,"resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3465584,"resolution":"2","location":"plugin"}},"screenshots":{"1":"<strong>Widget settings screen<\/strong>: Configure the widget title in the WordPress admin.","2":"<strong>Widget in frontend<\/strong>: The select box displayed on a website sidebar."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2336,22323,2333,162],"plugin_category":[43],"plugin_contributors":[81847,236079],"plugin_business_model":[],"class_list":["post-37486","plugin","type-plugin","status-publish","hentry","plugin_tags-google-translate","plugin_tags-language-switcher","plugin_tags-translation","plugin_tags-widget","plugin_category-customization","plugin_contributors-lenasterg","plugin_contributors-nts","plugin_committers-lenasterg"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ls-gtrans-widget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/ls-gtrans-widget\/trunk\/screenshot-1.png?rev=3465584","caption":"<strong>Widget settings screen<\/strong>: Configure the widget title in the WordPress admin."},{"src":"https:\/\/ps.w.org\/ls-gtrans-widget\/trunk\/screenshot-2.png?rev=3465584","caption":"<strong>Widget in frontend<\/strong>: The select box displayed on a website sidebar."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>The <strong>Ls Gtrans Widget<\/strong> 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 <a href=\"https:\/\/translate.google.com\/\">Google Translate<\/a>. The original language is auto-detected.<\/p>\n\n<h3>Key Features:<\/h3>\n\n<ul>\n<li>Over 25 European languages supported.<\/li>\n<li>Multisite ready.<\/li>\n<li>No coding required\u2014just drag and drop the widget to your sidebar.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>ls_gtrans_widget<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install it directly via the WordPress plugin repository.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to your Widgets page (<code>Appearance &gt; Widgets<\/code>) and drag the <strong>Translation in Google<\/strong> widget to your desired sidebar or widget area.<\/li>\n<li>Customize the widget title if needed, and you're done!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20use%20this%20plugin%20on%20a%20multisite%20installation%3F\"><h3>Can I use this plugin on a multisite installation?<\/h3><\/dt>\n<dd><p>Yes, the plugin is multisite compatible.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20work%20with%20non-european%20languages%3F\"><h3>Does the plugin work with non-European languages?<\/h3><\/dt>\n<dd><p>This version supports over 25 European languages. For adding or removing languages, use <code>ls_gtrans_available_languages<\/code> filter.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Accessibility fix<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Accessibility fixes<\/li>\n<li>Extensibility, Added <code>ls_gtrans_available_languages<\/code> filter hook to allow developers to add or remove languages programmatically.<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Fix a typo<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>WordPress 6.7.1 compatibility check<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Replaced a deprecated function for improved compatibility.<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Verified compatibility with WordPress 6.1.1 and PHP 8.1+.<\/li>\n<li>Improved code to align with WordPress coding standards.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added compatibility check for WordPress 4.9.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Replaced the deprecated <code>$this-&gt;WP_Widget<\/code> call.<\/li>\n<li>Fixed typos in code and descriptions.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Widget with a select box for Google translation of the current page. Includes more than 25 European languages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/37486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=37486"}],"author":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lenasterg"}],"wp:attachment":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=37486"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=37486"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=37486"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=37486"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=37486"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=37486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}