deactivate "pro" functions on certain pages

Popular automatic website translation tool

deactivate "pro" functions on certain pages

Postby [email protected] » Thu Mar 31, 2011 4:40 pm

Your plugin is working brilliantly except for one thing....

I have a few plugins that work on shortcodes, one for example is gravity forms. The form is initially translated and then if validation fails, errors are displayed to the user. This always resets to the default language. The same happens with the shopp plugin. The basket always resets to the default language as it is driven by dynamic data, same as the gravity forms plugin.

I kind of have a solution, and if this is possible would be a good addition to later versions.

Is there a way of setting the gtranslate plugin to only cache certain pages and translate on the fly any that I decide to set? Basically do the "pro" functions as default and the "free" version functions on specific pages?


if(is_page('page1, page2, page3'))
{ translate on the fly without cache }
{ use cache system }

could do with an answer or a directive on how to impliment this soon as I have a tight deadline to meet

Thanks in advance!!
[email protected]
Posts: 1
Joined: Thu Mar 31, 2011 4:38 pm

Re: deactivate "pro" functions on certain pages

Postby Edvard » Mon Apr 04, 2011 4:21 pm

You can add 2 GTranslate modules and configure them differently to use Redirect+Pro and On Fly. After you will need to choose which one you want to show on different pages.

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Site Admin
Posts: 4156
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests