如何在VC ++中将英语转换为中文 [英] How to convert English into chines in VC++

查看:1390
本文介绍了如何在VC ++中将英语转换为中文的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个应用程序,它需要将英语转换成非英语语言,但是我没有将其翻译成中文和日语.
有人可以帮忙吗?

感谢Advace

解决方案

对于日语和中文,您必须安装东印度语言.在区域和语言"选项为东印度语安装文件"中进行检查.


您应使用Unicode代码页(UTF-16)并使用此代码页创建字体来绘制字符.

将英语转换为中文"是什么意思?!

您要通过翻译还是音译进行转换?无论哪种情况,您都需要可以进行转换的代码.

如果您没有自己的代码,则可以使用类似Google翻译的功能(它们具有API).

其他人指出,要显示这些字体,您需要安装这些字体.


I am doing an Application which it needs to convert English into non English languages but I didn''t translate into Chinese and Japanese.
Can anybody help?

Thank you in Advace

解决方案

For Japanese and Chinese you have to install the East Indian language. Check it in Regional and Laguage option "Install files for East Indian Languages."


You should use Unicode codepage (UTF-16) and create font using this codepage to draw characters.


What do you mean "Convert English to Chinese"?!

Do you want to do the conversion by translation or transliteration? In either case, you need the code which can do the conversion.

If you don''t have your own code, you could use something like Google translation (they have APIs).

And others pointed out, to display those fonts, you need to have those fonts installed.


这篇关于如何在VC ++中将英语转换为中文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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