Hi
this is a block to translate your site using jquery and jquery translate plugin
what is the difference between this plugin and the classical method (http://www.google.fr/search?hl=de&safe=off&q=add+google+translate+to+your+site&aq=o&aqi=&aql=&oq=&gs_rfai=)
- Translate without refreshing
- Select element(html tag) to translate i.e. html (this include meta-tags keywords) , body, or by elements id i.e. <div id="centercolumn">
- No pop-up Google's "Suggest Better Translation"
- No Google's top frame
- And the very important feature is the users can translate any part of site including the restricted area
Installation:-- choose a version of jquery-translate from http://code.google.com/p/jquery-translat/downloads/list i.e. jquery.translate-1.4.7-debug-all.js rename to "jquery.translate-1.4.7.js"put it in includes/javascript/jquery/
-- if you use pmx v0.1.12 the block work as is
if pmx v < 0.1.12 : replace this line pmxHeader::add_jquery("jquery.translate-1.4.7.js");
by:
<?php //ignore this line
pmxHeader::add_script("includes/javascript/jquery/jquery.min.js");
pmxHeader::add_script("includes/javascript/jquery/jquery.translate-1.4.7.js");