Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
520 views
in Q2A Core by
how can i add below script in header of q2a and where it located

<script src="https://www.google.com/jsapi" type="text/javascript">   
</script>   
<script type="text/javascript">   
    google.load("elements", "1", {   
        packages: "transliteration"   
    });   
   
    function onLoad() {   
        var options = {   
            sourceLanguage: google.elements.transliteration.LanguageCode.ENGLISH,   
            destinationLanguage: [google.elements.transliteration.LanguageCode.TAMIL],   
            shortcutKey: 'ctrl+m',   
            transliterationEnabled: true   
        };   
  
        var control = new google.elements.transliteration.TransliterationControl(options);   
       control.makeTransliteratable(['language']);       
}   
    google.setOnLoadCallback(onLoad);   
</script>

1 Answer

+3 votes
by
To paste this code you need to go to

Admin > Layout > Custom HTML in <head> section of every page

paste your code in that place and you are done.

I hope this helps.
...