如何在没有互联网的情况下将文本从一种语言(英语)转换为另一种语言? [英] How to convert text from one language (english) to another in c# without internet?

查看:137
本文介绍了如何在没有互联网的情况下将文本从一种语言(英语)转换为另一种语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用程序中将文本从一个语言转换为另一个语言,以便具有任何语言知识的用户都能理解。

怎么可能?

I want to convert text from one to another langauage in my app so that user with knowledge of any language can understand.
How is it possible?

推荐答案

我从上面的评论中看到,这与翻译无关,您希望创建一个多语言应用程序。请参阅 http://msdn.microsoft.com/en-us/ library / vstudio / h6270d0z(v = vs.100).aspx [ ^ ]了解更多信息。
I see from your comments above that this is nothing to do with translation, you are looking to create a multi-language application. See http://msdn.microsoft.com/en-us/library/vstudio/h6270d0z(v=vs.100).aspx[^] for more information.


首先,所有人都需要互联网以任何方式访问您的应用程序。除非仅供内部网/办公室使用。所以无论如何你需要使用互联网。



现在你可以使用谷歌翻译服务,或者你可以使用每种语言的全局资源文件,并在你自己的文件中添加数据。然后根据文化,您可以选择要加载的数据。





搜索谷歌有关如何使用资源文件进行多语言网站的更多信息
well first of all people will need internet to access your application any way. unless it is for intranet/ or office only use. so in any case you need to use internet.

now you can use google translate services or you can use global resource file for each language and add data in that file your self . and then based on the culture you can select which data you want to load.


search google about more information on how to use resource file for multi language site


也许你可以试试这个





创建多语言ASP.NET网站 [ ^ ]



ASP.NET网站和C#多语言 [ ^ ]
may be you can try this


Create Multi-language ASP.NET Website[^]

ASP.NET Website and C# with Multi-Language[^]


这篇关于如何在没有互联网的情况下将文本从一种语言(英语)转换为另一种语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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