krishna
krishna

Reputation: 923

TranslateThis Button

just now i saw "TranslateThis Button" which is the script for translate the webpage using javascript. is there any chance to display language flags(ex: only four flags) with out dropdown? please help me.link text

here is the code `

<!-- Begin TranslateThis Button -->

<div id="translate-this"><a href="http://translateth.is/" class="translate-this-button">Translate</a></div>

<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript">
TranslateThis();
</script>

<!-- End TranslateThis Button -->

`

Upvotes: 0

Views: 1594

Answers (1)

Gof
Gof

Reputation: 11

Sorry for my bad english. This question is old but You can change like this by example :

<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript">
TranslateThis({
undoText : 'Undo &raquo;',
panelText : 'Translate Into:',
moreText : '36 More Languages &raquo;',
busyText : 'Translating page...',
cancelText : 'cancel',
ddLangs : [
    'en',
    'de',
    'it',
    'es',
],
noBtn : false
});

Upvotes: 1

Related Questions