是否可以使用谷歌翻译自动翻译iframe? [英] Is it possible to auto-translate an Iframe with google translation?

查看:535
本文介绍了是否可以使用谷歌翻译自动翻译iframe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户访问该页面时,我想自动在我的网站上翻译成法语iframe: http://www.julienlussiez.com/p/boutique.html

I'd like to translate to french an iframe on my website automatically when users come to that page : http://www.julienlussiez.com/p/boutique.html

是否可以?

以下是代码:

<iframe height="525px" scrolling="no" src="http://julienlussiez.bandcamp.com/album/fragile" width="950px"></iframe>

谢谢

推荐答案

一般来说,我只想将你的iframe的src设置为: http://translate.google.com/translate?hl=fr&sl=auto&tl=fr&u=BLANK

In general, I'd say just set the src of your iframe to this: http://translate.google.com/translate?hl=fr&sl=auto&tl=fr&u=BLANK

如果BLANK是网站的网址。

Where BLANK is the url of the website.

但是,它似乎不适用于您正在查看的网站,因为谷歌认为它已经用法语...

However, it doesn't seem to work for the website you're looking at, since Google thinks its already in French...

这篇关于是否可以使用谷歌翻译自动翻译iframe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆