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 [email protected] » Sat Apr 02, 2011 7:35 pm

I'd also be interested in this as I'd ideally like my homepage to be cached in all languages and all the rest would be best as on-the-fly. Thanks, Ant.
[email protected]
Posts: 12
Joined: Sat Apr 02, 2011 3:14 am

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: 4403
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 0 guests