js利用google翻译接口把网页翻译成各国语言

网页翻译为德语(Translate Page To German)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cde', 'English_to_German', 'resizable,scrollbars,status'))">网页翻译为德语(Translate Page To German)</a>

网页翻译为西班牙语(Translate Page To Spanish)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Ces', 'English_to_Spanish', 'resizable,scrollbars,status'))">网页翻译为西班牙语(Translate Page To Spanish)</a>

网页翻译为法语(Translate Page To French)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cfr', 'English_to_French', 'resizable,scrollbars,status'))">网页翻译为法语(Translate Page To French)</a>

网页翻译为意大利语(Translate Page To Italian)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cit', 'English_to_Italian', 'resizable,scrollbars,status'))">网页翻译为意大利语(Translate Page To Italian)</a>

网页翻译为日语(Translate Page To Japanese)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cja', 'English_to_Japanese', 'resizable,scrollbars,status'))">网页翻译为日语(Translate Page To Japanese)</a>

网页翻译为韩语(Translate Page To Korean)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cko', 'English_to_Korean', 'resizable,scrollbars,status'))">网页翻译为韩语(Translate Page To Korean)</a>

网页翻译为葡萄牙语(Translate Page To Portuguese)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cpt', 'English_to_Portuguese', 'resizable,scrollbars,status'))">网页翻译为葡萄牙语(Translate Page To Portuguese)</a>

网页翻译为汉语(Translate Page To Chinese)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Czh-CN', 'English_to_Chinese', 'resizable,scrollbars,status'))">网页翻译为汉语(Translate Page To Chinese)</a>

网页翻译为俄罗斯语(Translate Page To Russian)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cru', 'English_to_Russian', 'resizable,scrollbars,status'))">网页翻译为俄罗斯语(Translate Page To Russian)</a>

网页翻译为荷兰语(Translate Page To Dutch)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cnl', 'English_to_Dutch', 'resizable,scrollbars,status'))">网页翻译为荷兰语(Translate Page To Dutch)</a>

网页翻译为丹麦语(Translate Page To Denmark)

<a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cda', 'English_to_Denmark', 'resizable,scrollbars,status'))">网页翻译为丹麦语(Translate Page To Denmark)</a>
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值