Google Translate Element

Hi all i need help on this one.

How can i integrate google translate element in Yii?


check out how I did in this extension

Any doubts you have reading the code let me know


actually I’m trying to use this script from google.

Google Translate Element


function googleSectionalElementInit() {

  new google.translate.SectionalElement({

    sectionalNodeClassName: 'goog-trans-section',

    controlNodeClassName: 'goog-trans-control',

    background: 'transparent'

  }, 'google_sectional_element');



<script src="//"></script>

but i don’t have an idea on how to integrate it on Yii


anyone can help me with this one?

help please… up up

please help…