WordPress Global Translator Plugin
Global Translator is a free and open source WordPress Plugin which is able to automatically translate your blog in 48 different languages:
Italian, Korean, Chinese (Simplified & Traditional), Portuguese, English, German, French, Spanish, Japanese, Arabic, Russian, Greek, Dutch, Bulgarian, Czech, Croatian, Danish, Finnish, Hindi, Polish, Romanian, Swedish, Norwegian, Catalan, Filipino, Hebrew, Indonesian, Latvian, Lithuanian, Serbian, Slovak, Slovenian, Ukrainian, Vietnamese, Albanian, Estonian, Galician, Maltese, Thai, Turkish, Hungarian, Belarus,Irish, Icelandic, Macedonian, Malay, Persian.
The number of available translations will depend on your blog language and the translation engine you will chose to use.
The most powerful features which Global Translator provides are:
- Four different Translation Engines: it has the ability to provide the translations by using Google Translation Engine, Babel Fish, Promt, FreeTranslations.com
- Search Engine Optimized: it uses the permalinks by adding the language code at the beginning of all your URI. For example the english version on www.domain.com/mycategory/mypost will be automatically transformed in www.domain.com/en/mycategory/mypost
- Fast Caching System: new fast, smart, optimized, self-cleaning and built-in caching system. Drastically reduction of the risk of temporarily ban from translation engines.
- Fully configurable layout: you can easily customize the appearance of the translation bar by choosing between a TABLE, DIV or IMAGE MAP based layout for the flags bar and by selecting the number of translations to make available to your visitors
- No database modifications: Global Translator is not intrusive. It doesn’t create or alter any table on your database: this feature permits to obtain better performances.
If to want to have the latest news and updates delivered directly to you, to stay up to date you could decide to subscribe to my latest post or to my comments. You could also evaluate to receive the updates by email: see at the “SUBSCRIPTION” section on the sidebar.
IMPORTANT: I daily receive about 30/40 comments and messages containing suggestions or support requests about Global Translator. Unfortunately I can’t offer free support anymore because it requires a lot of time and costs a lot. If you need help or need more advanced features, I suggest you to buy Global Translator PRO.
Download
Latest version (20th of Mar, 2010): global-translator.1.3.1.zip
Need support or advanced features? Take a look at Global Translator PRO!
If you derive some benefit from this code, please consider showing your gratitude in a more tangible way. Thanks!
Previous versions
20th of Aug, 2009: global-translator.1.2.6.zip
21th of April, 2009: global-translator.1.2.3.zip
4th of April, 2009: global-translator.1.2.2.1.zip
3rd of March, 2009: global-translator.1.2.1.zip
29th of January, 2009: global-translator.1.2.zip
27th of December, 2008: global-translator.1.1.2.zip
6th of December, 2008: global-translator.1.0.9.2.zip
15th of November, 2008global-translator.1.0.9.1.zip
4th of November, 2008:global-translator-1.0.8.1.zip
21th of October, 2008:global-translator-1.0.7.1.zip
4th of September, 2008:global-translator-1.0.6.zip
27th of August, 2008:global-translator-1.0.5.zip
22th of August, 2008: global-translator-1.0.4.zip
20th of August, 2008: global-translator-1.0.3.zip
17th of August, 2008: global-translator-1.0.2.zip
21th of July, 2008: global-translator-0.9.1.zip
10th of May, 2008: global-translator-0.9.zip
13th of Apr, 2008: global-translator-0.8.zip
2nd of Feb, 2008: global-translator-0.7.1.zip
28th of Jan, 2007: global-translator-0.7.zip
31th of Aug, 2007: global-translator-0.6.2.zip
17th of Apr, 2007: global-translator-0.6.zip
23th of Dec, 2006: global-translator-0.5.zip
09th of Dec, 2006:global-translator-0.4.1.zip
27th of Nov, 2006:global-translator-0.2.zip
20th of Aug, 2006:global-translator-0.1.zip
Requirements
Global Translator has been tested on WordPress 2.3.*, 2.5, 2.6, 2.7, 2.8 and 2.9.
Installation
- Upload the folder “global-translator” into your “wp-content/plugins”
- Log in to WordPress Administration area, choose “Plugins” from the main menu, find “Global Translator”, and click the “Activate” button
- Choose “Options->Global Translator” from the main menu and select
your blog language and your preferred configuration options then select “Update Options“.
Upgrading
- Uninstall and remove the previous version and follow the Installation instructions, but if you’re upgrading from 0.9 or higher version I suggest you to preserve the “cache” directory.
Configuration
- If your theme is widged-enabled, just choose “Presentation->Widgets” from the administration main menu
and drag the “Global translator” widget on the preferred position on your sidebar.
If your theme is not widgetized, just add the following php code (usually to the sidebar.php file):<?php if(function_exists("gltr_build_flags_bar")) { gltr_build_flags_bar(); } ?>
After this simple operation, a bar containing the flags which represents all the available translations for your language will appear on your blog. Check my blog for an example (on the sidebar) or take a look to my Youtube Video Downloaders blog.
Uninstallation
- Log in to WordPress Administration area, choose “Plugins” from the main menu, find the name of the plugin “Global Translator”, and click the “Deactivate” button
Bug submission
- Bug submission is an important aspect of many Open Source projects, and submitting bugs correctly increases the chances of the developer finding and fixing any problems that may arise.
If you want to submit bug issues, please use the Contact form and remember to specify the following informations:
– the version of the plugin you’re using
– a full description of the problem (and the error message if available)
Please don’t submit bugs or support requests as comments otherwise the discussion threads risk to become confusing.
Alternatively you can also start a new topic here.
Changelog
1.3.1
- Removed N2H backlink
- Fixed some issues on the regexp
1.2.7
- Added 6 new languages
1.2.6
- Improvements on link cleaning
- default cache expire time switched to 15 days
- replaced 503 HTTP code (“Network Temporarily Unreachable”) with a 302 redirect on not yet translated pages in order to remove the warning messages on GooGle WebMaster Tool
1.2.5.1
- some fixes on the new cleaning system
1.2.5
- updated page cleaning system in order to prevent new Google updates on the HTML sources
1.2.4
- Fixed trailing slash issue
- Replaced 404 errors with 302 redicection for better SEO
- Other fixes and optimizations
1.2.3
- Fixed sitemap integration for blogs not installed on the root path
- Fixed encoding problems related to the introduction of the new Google APIs
1.2.2.1
- Hacked new Google URL structure
1.2.1
- Added seven new languages: Albanian,Estonian,Galician,Maltese,Thai,Turkish,Hungarian
- Improved caching performances
- Added Show/Hide button for statistics on options page
- Optimized connections to google translation engine
1.2
- Fixed Chinese Traditional Translation
1.1.2
- New configuration feature: flags bar in a single image (based on contribution by Amir – http://www.gibni.com)
- Translated Portuguese languages array (Thanks to Henrique Cintra)
- Added Chinese (traditional) translation
- Fixed “division by zero” error
- Fixed image map configuration error
1.0.9.2
- Better IIS url rewriting support
- Fixed Norwegian configuration
- Moved shared function to header.php
1.0.9.1
- Changed HTTP error for not yet translated pages from 404 to 503 (Service Temporarily Unavailable)
1.0.9
- Added 404 error code for not yet translated pages
- Added support for IIS rewrite rules (based on the usage of “/index.php” at the beginning of the permalink)
- Other performances improvements
1.0.8.1
- general performances improvement
- added check for blocking recursive and bad translation requests (i.e. www.mysite/en/fr/…)
- fixed A tags rendering
- moved cache dir outside the plugin dir
- fixed options page access problem
- fixed trailing slash issue
1.0.7.1
- Added cache compression
- fixed layout bugs
- fixed link building problem (internal anchors not working)
- Added 11 new languages to Google Translation Engine!
1.0.6
- Added new optional cache invalidation time based parameter
1.0.5
- Hacked new Google block introduced on (27th of August 2008)
- Random User Agent selection for translation requests
1.0.4
- Performances improvement in cache cleaning algorithm
- Fixed the sitemap plugin detection function
- Fixed javascript errors on translated pages
1.0.3
- Added Debug option on the admin area
- Added Connection Interval option on the admin area
- Added more detailed messages and info on the admin page
- Updated new Promt translation url
- Fixed some issues about cache cleaning for blogs not using the permalinks
- Added experimental sitemap integration
1.0.2
- Fixed cache issue with blogs not using the pemalinks
1.0.1
- Fixed compatibility issue with older version of WordPress
1.0
- Improved cleaning system for translated pages
- New fast, smart, optimized, self-cleaning and built-in caching system. Drastically reduction of temporarily ban risk
- Added Widget Title
- Added 404 error page for deactivated translations
0.9.1
- Added file extension exclusion for images and resources (they don’t need to be translated)
- Activated new Prompt configuration
- Fixed little issue with Portuguese translation
- Fixed Swedish, Arabic and Czech flags icons (thanks to Mijk Bee and Nigel Howarth)
- Added new (and better) event-based cache invalidation system
0.9
- Added support for 10 new languages for Google Translations engine: Bulgarian, Czech, Croat, Danish, Finnish, Hindi, Polish, Rumanian, Swedish, Greek, Norwegian
- Updated flags icons (provided by famfamfam.com)
0.8
- Updated Prompt engine
- Added experimental translation engines ban prevention system
- Improved caching management
- Improved setup process
- Fixed a bug on building links for “Default Permalink Structure”
0.7.1
- Fixed bug “Call to a member function on a non-object in /[….]/query.php”.
It happens only on certain servers with a custom PHP configuration - Fixed bug on building links for “Default Permalink Structure”
0.7
- Added two new translation engines: FreeTranslation and Promt Online Translation
- Added USER-AGENT filter in order to prevent unuseless connections to the translation services
- Added support for Default Permalink Structure (i.e.: “www.site.com/?p=111”)
- Added widgetization: Global Translator is now widgetized!
- Fixed some bugs and file permission issues
- Excluded RSS feeds and trackback urls translation
- Fixed some problems on translated pages
0.6.2
- Updated in order to handle the new Babelfish translation URL.(Thanks to Roel!)
0.6.1
- Fixed some layout issues
- Fixed url parsing bugs
0.6
- Fixed compatibility problem with Firestats
- Added the “gltr_” prefix for all the functions names in order to reduce naming conflicts with other plugins
- Added new configuration feature: now you can choose to enable a custom number of translations
- Removed PHP short tags
- Fixed some issues for Babelfish translation
- Added alt attribute for flags IMG
- Added support to BabelFish Engine: this should help to solve the “403 Error” by Google
- Added my signature to the translation bar. It can be removed, but you should add a link to my blog on your blogroll.
- Replaced all the flags images
- Added help messages for cache support
- Added automatic permalink update system: you don’t need to re-save your permalinks settings
- Fixed many link replacement issues
- Added hreflang attribute to the flags bar links
- Added id attribute to <A> tag for each flag link
- Added <DIV> tag for the translation bar
- Added support for the following new languages: Russian, Greek, Dutch
0.5
- Added BLOG_URL variable in order to correctly handle a “Blog address” different from the “WordPress address”
- Improved url replacement
- Added caching support (experimental): the cached object will be stored inside the following directory:
“[…]/wp-content/plugins/global-translator/cache”. - Fixed Japanese support (just another bug)
0.4.1
- Better HTTP request will be sent to Google Translation Services
- Bug fix: sometimes the translated page contains also the original page (appended)
0.4
- The plugin has been completely rewritten
- Added permalinks support for all the supported languages
- Added automatic blog links substitution in order to preserve the selected language.
- Added Arabic support
- Fixed Japanese support
- Removed “setTimeout(180);” call: it is not supported by certain servers
- Added new option which permits to split the flags in more than one row
0.2/0.3
- Added localized tooltips on the flags
- Added language configuration section on the administration area.
0.1
- Initial release
Iscriviti alla newsletter per ricevere in tempo reale tutte le notizie e gli aggiornamenti!