generated by GTranslate Pro

Popular automatic website translation tool

generated by GTranslate Pro

Postby fruitboat » Tue Mar 18, 2014 10:42 am

Hi,

When the language is translated I get ( 0 <!-- generated by GTranslate Pro v3.141592 visit https://gtranslate.io/ -->) by the checkout on my online store and I can't find any way of stopping it from happening.

The store is offline at the moment but you can see it by putting in:
username: guest
password: Gu3sty45

We have registered and have put in the url where you asked us to,

Can you tell me how to get rid of this please,

Many thanks,

Fruit Boat
fruitboat
 
Posts: 5
Joined: Tue Mar 18, 2014 10:37 am

Re: generated by GTranslate Pro

Postby Edvard » Tue Mar 18, 2014 1:08 pm

Hi,

What is your website address?

Thanks!
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: 4186
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: generated by GTranslate Pro

Postby fruitboat » Sun Mar 23, 2014 11:18 pm

Oops, yup the website address would be handy :)

fruitboat.com
username: guest
password: Gu3sty45
fruitboat
 
Posts: 5
Joined: Tue Mar 18, 2014 10:37 am

Re: generated by GTranslate Pro

Postby Yana » Mon Mar 24, 2014 7:56 pm

Hi,

Please check your website for HTML validation errors and try to fix end tag errors.
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: 4140
Joined: Thu Jan 12, 2012 6:21 pm

Re: generated by GTranslate Pro

Postby Edvard » Mon Mar 24, 2014 8:02 pm

Hi,

I have just checked your website and can see that there is a javascript which is sending a POST request to http://fruitboat.com/index.php?tmpl=json over and over again which returns 0 in response. Can you please mention what is the purpose, so I'll be able to suggest.

Thanks!
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: 4186
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: generated by GTranslate Pro

Postby fruitboat » Sat Apr 12, 2014 12:48 am

The javascript is the Gavick cart counter, but the reply is from Gtranslate, can it be removed?
fruitboat
 
Posts: 5
Joined: Tue Mar 18, 2014 10:37 am

Re: generated by GTranslate Pro

Postby fruitboat » Sat Apr 12, 2014 1:37 am

Also our domain was fruit-boat.com when we bought the pro version, but has changed to fruitboat.com in case this has caused the issue
fruitboat
 
Posts: 5
Joined: Tue Mar 18, 2014 10:37 am

Re: generated by GTranslate Pro

Postby Edvard » Sat Apr 12, 2014 11:18 am

Hi,

The content type of the response is set to text/html. Our signature doesn't brake that format, because it is still text/html when we add the signature comment. However the javascript which handles the response is not designed to handle HTML, but it expects text.

I have checked your script and found out that if you modify your templates/gk_instyle/js/gk.scripts.js file to replace:

Code: Select all
onSuccess: function(nodes, xml, text) {
    document.id('gkCartCounter').set('text', '(' + text + ')');   
},


with


Code: Select all
onSuccess: function(nodes, xml, text) {
    document.id('gkCartCounter').set('html', '(' + text + ')');   
},


or with

Code: Select all
onSuccess: function(nodes, xml, text) {
    document.id('gkCartCounter').set('text', '(' + text.replace(/<!--(.*?)-->/gm, '') + ')');   
},


It should help.

Let me know.

Thanks!
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: 4186
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: generated by GTranslate Pro

Postby fruitboat » Sun Apr 13, 2014 1:47 am

Thanks for that Edvard, the first replacing code worked well :)
fruitboat
 
Posts: 5
Joined: Tue Mar 18, 2014 10:37 am

Re: generated by GTranslate Pro

Postby Edvard » Sun Apr 13, 2014 2:44 pm

Good to hear that.

Thanks!
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: 4186
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: generated by GTranslate Pro

Postby juegosfriv » Tue Jul 01, 2014 5:21 pm

Thanks Edvard for this, i had the same issue.
juegosfriv
 
Posts: 6
Joined: Thu Dec 19, 2013 7:58 pm

Re: generated by GTranslate Pro

Postby Yana » Tue Jul 01, 2014 5:38 pm

You're welcome!
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: 4140
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
cron