如何在Unicode中将用英语编写的段落编码为我的母语? [英] How Do I Encode A Paragraph Written In English To My Native Language In Unicode?

查看:92
本文介绍了如何在Unicode中将用英语编写的段落编码为我的母语?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是网页设计的新手。现在我正在开发一个HTML基本网站,用户在第一个文本框(英文)中输入的文本将以我的母语编码,并在单击提交按钮后显示在第二个文本框中。

现在我不知道该怎么做。关于

解决方案

您需要有一个翻译API并且过程非常简单。您需要做的就是在提交按钮上调用API(可以使用自己的或免费的翻译引擎),并在另一个文本框中显示翻译的文本。自己尝试google并查看以下参考资料



* 翻译 - Google Translate API的替代品? - Stack Overflow [ ^ ]



* 本地化 - 如何使用Bing Translation API? - 堆栈溢出 [ ^ ]

I am novice to web designing. Now i'm developing a basic website in HTML where the texts entered by the user in the first Textbox (In English) will be encoded in my native language and will be displayed in the second Textbox after clicking Submit button.
Now i don't have any idea how to do this. With regards

解决方案

You need to have a translation API and the process is quite simple. All you need to do is to call the API (either your own or free translation engine available) on submit button and show the translated text in the other textbox. Try google yourself and see below references

* translation - Alternative to Google Translate API? - Stack Overflow[^]

* localization - How to use Bing Translation API? - Stack Overflow[^]


这篇关于如何在Unicode中将用英语编写的段落编码为我的母语?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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