Two different web site: cookies?

Popular automatic website translation tool

Two different web site: cookies?

Postby [email protected] » Tue Nov 22, 2011 6:04 pm

I have the Pro Version installed in a site; in this site I have some links to a different web site; in this second website I installed the free version.

Question: is it possible, maybe with cookies, to save the language when visit the first site and not select again the language when visit the second site?

For example I have the site www.blablabla.com/es/ and when I go to the second site www.123456.com linked from the first, may I have alredy the "es" language selected in any way?

I hope you can understand what I mean...

Regards
[email protected]
 
Posts: 21
Joined: Mon Feb 28, 2011 12:57 pm

Re: Two different web site: cookies?

Postby Edvard » Tue Nov 22, 2011 11:02 pm

Hi,

Technically it is possible. On your second site you may check the Referrer and parse the URL to get the language code from it. Then set a language cookie glang with that language code if you use On Fly jQuery or redirect the user to appropriate URL if you use Redirect method. If you use Google Default translation method, it is not possible to change the language automatically.
Regards,

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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux