Shape 5

Joomla Templates => Traction - Club => : aacmn1 November 04, 2015, 01:00:26 PM



: Using Google Translate in any form breaks responsive template
: aacmn1 November 04, 2015, 01:00:26 PM
I want to add google translate to my web site, however any form i use to do this breaks the mobile version of the site. with google translate installed on the site in any form IE. Google translate code from google, G translate module, Multitrans450 module etc. the Desktop menu and to Top icon move up into the middle to top of the pages. If i turn these features off everything except those features seem to work. Why is this and how do i correct? Also this same thing happens with any of your  Vertex powered template i try.


: Re: Using Google Translate in any form breaks responsive template
: mikek November 05, 2015, 09:21:27 AM
Hello,

We can't debug a third party script that interferes with the layout like this. If the script is adding or modifying parts of the site that is something wrong with the script. Each part of the site is intended to be in a specific location and other scripts shouldn't be modifying that.


: Re: Using Google Translate in any form breaks responsive template
: aacmn1 November 05, 2015, 06:25:59 PM
1st of all after looking back through your forum i see where this problem has been known by you since at least 2013, with your moderators suggesting hacks to the template to solve this very same problem. 2nd of all Google's code and Mods that are based on it works just fine on any other template except Vertex based templates. 3rd and last i have also noticed that the standard company line in your forum is that "the problem is always with a 3rd party script and Never with your templates", i even saw 1 post where after getting this answer the poster took the time and trouble to prove that the fault WAS in you template, which your company finally begrudgingly fixed. I on the other hand have neither the time or patience to do this, so  i will have the problem corrected by a freelancer, and just calk up your support of your templates for what it is,NON Existent!   


: Re: Using Google Translate in any form breaks responsive template
: mikek November 06, 2015, 01:11:20 PM
Hello,

Our support is for our products, not debugging another third party script. If the problem only occurs when you enable this script, and not before, the only thing the problem can point to is the script that you have added. Scripts should in no way be modifying or changing the layout of a template, which it sounds like your script is doing.

We do not have a standard line that tells customers that the problem is with a third party script, that is just sometimes in fact where the problem lies. There are a lot of very poorly written scripts out there, and we cannot debug them; that is the developer's responsibility.

I have tested this template with the default Google Translate script:

https://translate.google.com

And I am not seeing any issues. I published the script to the a custom html module, which shows a drop down in the module. When I select the language to translate it shows the translate bar across the top of the page and does not interfere with any part of the template on either desktop or mobile, it just pushes the site down about 50px to allow space for the translate bar.