www.StarDict.cn 注册 登录

怎样在其他网页上使用“即时翻译”?
收藏下面的这个链接,或者直接把它拖到您的工具栏:
StarDict
Notice: You are guest user, you'd better login first, so this link will contain your user info and you can use your custom dictionaries by it.

然后打开任意网页,并且点击工具栏上的StarDict链接。


How to add "Select and Translate" in your website?
Put these codes in your website:
<script src="http://www.stardict.cn/js/stardict.js" type="text/javascript"></script>
<script type="text/javascript">
dictInit();
</script>

You can add "dict_username" and "dict_md5passwd" into this script, so you can use custom dictionaries.
Username:
Password:
Enable translate opinion:
If you want to show a "Enable translate opinion" in your webpage, put these codes in suitable place:
<span id="dict_status"></span>
* If you want to disable "Select and Translate" by default, add dict_enable=false; before dictInit();

Provide Dictionary Lookup Service in your website.
Insert these codes in your web page:Preview:

<form method="post" target="_blank"
action="http://www.stardict.cn/query.php">
<input maxlength=256 size=21 name=q /><br>
<a href="http://www.stardict.cn" target="_blank">StarDict</a>
<input type="hidden" name="cs" value="UTF-8" />
<input type="submit" value="Look Up" />
</form>


StarDict
* You may need to change "UTF-8" to the charset that you are using in your web page.


随你译|翻译公司|论文翻译|医学翻译|简历翻译|出国翻译|机械翻译|英文翻译|论文摘要翻译|推荐信翻译|小语种翻译

沪ICP备07003613号