如何在C ++中进行本地化 [英] how to do localization in C++

查看:120
本文介绍了如何在C ++中进行本地化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好所有

我试图将英语转换成任何其他本地语言@运行时间。


$ c $ b c ++示例: -

hello all
I am trying to convert the english language to any other local language @ run time.

example in c++:-

string name;
cin >> name;
cout << name;



在上面的例子中,如果输入字符串名称为hello,我必须在其他本地语言(如印地语,中文,德语)中获得hello等效世界等等



您的帮助将不胜感激。



提前谢谢


In the above example if a give input string name as "hello" i must get hello equivalent world in other local languages such as hindi,chinese,german etc.

your help will be appreciated.

thank you in advance

推荐答案

尝试ICU库:

http://site.icu-project.org/ [ ^ ]
Try the ICU library:
http://site.icu-project.org/[^]


这篇关于如何在C ++中进行本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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