Translates your site to more than 100 languages

Begonnen von algebre, 12 Dezember 2010, 12:52:39

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

algebre

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 


  • 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");