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!







GBU Davide,
I am from Indonesia, I think your plugin is the best plugin that I ever seen on the net.
I am always waiting Indonesian to translate into the next release, I hope
BROVOOO!!!!
Супер! Большое вам спасибо за ваш труд!
Hello,
First I want to tell you that I’m big fan of the Global Translator and it’s helping to save me *a lot* of time in my work. I’m just missing one little feature. Some parts of translated pages should be not translated so it would be just great if there would be an option that would block plugin from translating this part of text.
For example:
[notranslate] Here goes text that should be not translated [/notranslate]
Best regards!
I’ve been reading some posts regarding global translator using up a ton of cpu time when running and users getting banned from hosting agents.
Is there any truth in this, or has this problem been remedied?
Thanks,
Frank
@Frank: if you use GT with WP Super Cache you shouldn’t have any CPU problem (I’m doing the same thing on THIS blog). Anyway I’ll investigate about your reported issue. Thanks!
Thanks David, I look forward to your response!
Frank
Very nice plugin, thanks for the collaboration.
Thank for the update !! i implemented it on zzBlogger under http://www.zzblogger.com
hi. Thanks for plugin
perfect.
Regards
good job , great pludin thank u
Oh thank you so much for this new version 1.0.7.1. I’ve sent you a mail to request serbian languages and the others available at google and it comes here just a few days after. So fast! So that’s why I’m so thankful for this great work. I am currently building a big set of round flags 48×48 for myself as I wanted a better look for it with bigger icons. I will share here my flags as soon as they’re ready (not the ones currently in my site) + the final PSD file + a big set of flags of near ALL countries in the world to use with the photoshop PSD file. Link to Nothing2Hide is in my Friend’s links list in the sidebar
My graphics for 32px and 48px flag icons
http://www.mediafire.com/file/jymzjmmwmmg/Flags_Global_Translator.zip
with new languages + PSD templates with layers and different sizes.
Nice plugin ! thanks. It works fine on 2.6.3 and 2.7beta.
Just thanks for this!
I’ve a website that sell amazon product and I just try this plugin.
The translation is works on text but it doesn’t work on the amazon product link script result, it display blank frame
Anybody can help …?
Thanks
Great Plugin.
Suggested Feature: it is only the Posts themselves that do not change. Therefore it would be good if the cache control could have more settings. ie never refresh cache for pages & blog posts, but only refresh for home page, tag pages, category pages.
Why?: I have 1000+ pages, and 90% do not need the cache to be refreshed as there is no change. But if I set to ‘0′ then the home page cache and other changing pages will never change. Do you see the issue?
Ótimo Plugin… fácil de configurar
Hello!
I just started using your very nice plugin. Thank you!
Question: is there a way to ADD Brazilian Portuguese to the list? It is not the same as the language spoken in Portugal, and my relatives come from Brazil.
I have been told that the Portuguese translation is not correct for their country’s language.
In advance, many thanks.
I agree with Nick, more options on caching would be great! Not that I am complaining, this is an awesome plug-in and can only get better!
um…do you have a global tranlator for blogspot?
I am using this plugin on my blog and just loving it
thank you, your plugin is usefull and powerfull
It is a great plug-in, I’ve used.
hi,
ur product is useful, I hope u can develop this for normal web instead of blog only.
nemo
Google has increase of 1,000+ pages in different languages.
It’s great.
Love the plugin! I just had one question: Is there a way (perhaps through .htaccess) to actually make one of the translated paged the home page of my blog instead of the native language? Thanks!
Great, excellent plugin!
Have some problems with latest WP 2.7RC1 though.
Keed the good work, thank you!
Uhmmm seems to be working fine again after clicking “Update options”… weird, but now it works with RC1!
Wow great I love this plugin!!
thanks for sharing!!
Tine
Wow thanks.. great plugin and keep work
I’ve been searching this plugin for a long time.. I now get it here.
Hi,
First of all thanks for this awesome plugin, it really rocks.
Now, a question. I want to show to visitors that are on a translated version that there is also an english version (but in a more obvious way then just having an english flag there), but I dont want it showing up on the english version itselve (for obvious reasons)..
I would love to have a line above each translated post that says “See the original english version”
any way to do that?
Thanks!
~Bart
I am really happy to use this plugin. This one is really cool and has really increased the traffic and that too in different language versions.
Thanks to the owners. Hats off to them.
Keep up the good work.
-Nitin
Thanks for making this plugin, works like a charm!
I’m a bilingual blogger and this will make my job so much easier, thanks!
Works fine!
Tnx =)
This is a great tool. I would suggest you to add customization features so that we can decide how to list different flags, replace flags with text, pop-down menu etc.
I have 3 good ideas to add to the next version:
1- Translate also de RSS then the people will be able to have the latest post in his own language.
2- Translate the URL tittle in case the URL is using the post title. This will be very good for Google, Yahoo etc.
4- In the configuration menu say: re-translate ever X days. I think will be a good idea re-translate depending of the sitemap.xml priority. We want to get the index re-translated every day but not the other news.
It is very bad if the index take X days to get translated.
great plugin! I’m using it on a social service website, allowing multilingual use of the forums and other resources. You’ve done a great service!
Would it be possible to specify in the translator options the cache location and save it in the database? this way surely every site using the same installation could use global-translator.
Anyone know how I can delete the ‘gt-cache’ directory and it’s contents? I’ve tried it with Filezilla and SmartFTP and it still won’t delete the directory.
Thank you for the wonderful plugin. It works perfect.
What would be nice is a way to tell people the translation has been done automatically. Like a small banner telling your visitors that the translation is not accurate. Because the automatic translation has a lot of mistakes.
Very good work there mate, I have a suggestion. How about adding Urdu language also? I would really love that. Thanks anyways.
I am looking forward to give this global translator a try as I have mixed experience with a paid translater I got around two years ago for my blogs and websites. I don’t think Google liked that script at that time
wow great Plugin!!
Thanks
Joachim
Your plugin is very cool, i recommend to a friend that have a blog, i use another plugin for translator, but i can see that your plugin is much better. Congratulations!
Well, thanks a lot, I have been looking for this plugin. I found it using Google and I read this article in Romanian (translated by your plugin). It’s not a very good translation, but it was good because I understood what was written here in Romanian. I switched to the original version and I realized that the translation is word-by-word (mot-a-mot) , but some of the sentences aren’t translated mot-a-mot.
I am gladly expecting new updates for this plugin, till then it’s ok, I’m using it (because I need it) and keep up the good work…You’ll only have to win!
Great Plug-in! Works like a champ and love the menu options. Fantastic work. Donation on the way – only wish it could be more, but I’m just getting started
Thank you for your last update. Making one image for the flags optimizes my site load speed a lot!
thanks for this plugin
The Global Translator plugin is a great one.
I am having a bit of trouble with it working with permalinks on lighttpd, but I think I am close to solving the problem. I may post it here or somewhere when I’m done.
But I also noticed that this translator is very heavy on my server. Every tag or category combination is also translated. Is there a way to just translate the front and next pages of a wordpress blog, some pages and exclude others. It’s good to attract people to the site, but not every page needs translation.
Also, if no-one goes to a page, will it be translated as well?
Thanks
Thanks, this script is so nice!