GTranslate not working on Ajax request data & ga.xxx error

Popular automatic website translation tool

GTranslate not working on Ajax request data & ga.xxx error

Postby lucysadler » Thu May 21, 2015 1:00 pm

We have two questions:

1. The GTranslate is not working on Ajax request data.
We have a page where some data is static and some of the data will load from ajax after the static page has loaded.
I can see that the static data on page is successfully traslated by Gtranslate, but the data which comes from ajax request after the page loading is not translating
How can we get the ajax request data to translate.
I will send you the url by email.

2. The translated url ga.xxxxxx is coming up as an error on our site, however we do not want ga to be translated. The module we have to set up gtranslate doesn't seem to change anything. You set up the flags for us. Could you stop this error with ga.xxx?

Thanks.
lucysadler
 
Posts: 23
Joined: Tue Sep 30, 2014 2:07 pm

Re: GTranslate not working on Ajax request data & ga.xxx err

Postby Yana » Thu May 21, 2015 3:04 pm

Hi,

1. The ajax request should go to the URL with the language code. Also you need to make sure that the ajax response is in HTML format. In this case the posts it will be translated. If the response is in JSON format, it will not be translated.
2. Please make sure that you created DNS CNAME record for Irish language (ga) .
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux