ASP.NET中的语言转换 [英] Language conversion in asp.net

查看:81
本文介绍了ASP.NET中的语言转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在.net 4.0框架中开发了一个Intranet网站.
现在我想将语言从英语更改为阿拉伯语.
我的问题是如何在不使用Google/Microsoft转换器和Resx文件的情况下更改语言转换.是否支持任何第三方工具?
因为我的客户没有Internet连接.

注意:
1.我的客户没有互联网连接
2.我不想使用resx文件.

解决方案

尝试以下链接:
ASP.Net中的语言转换 [将一种语言转换为另一种语言 [
3.您可以编写自己的语言翻译器.在此之前,您将必须学习要翻译成的所有语言.由于每种语言在语法和语言环境上都互不相同,因此译者并不是100%完美的. Google翻译人员仍在努力追求完美.

完成翻译的编写后,您可以向Google或Microsoft展示该翻译,他们将以丰厚的薪水雇用您..

有关更多详细信息,请查看此讨论

http://stackoverflow.com/Questions/4001056/how-to-to-write-a-human-language-translator-software-that-supports-multiple-languag [ http://digitalforces.blogspot.in/2012/04/offline-google- translator-by-c.html [ ^ ]


use this.when you upload it into web server then google translator work.<br />
<br />
<html><br />
<head><br />
<title><br />
abc</title><br />
</head><br />
<body><br />
<br />
<br />
<div id="flag_icon"> 						<div <br />
<br />
id="google_translate_element"></div><script> 						                         <br />
<br />
                    function googleTranslateElementInit() { 						         <br />
<br />
                                        new google.translate.TranslateElement({ 					<br />
<br />
	                                                     pageLanguage: ''be'' 					<br />
<br />
	                                                 }, ''google_translate_element''); 				<br />
<br />
		                                             }    					<br />
<br />
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>  		<br />
<br />
				</div><br />
<br />
Rohit Sharma<code><code><code><code><code><code>


</body>
< html>


hi i developed one intranet website in .net 4.0 framework.
now i want to change language from English to Arabic.
My question is How can i change language conversion with out using Google/Microsoft Translator and Resx files. Is there any third party tools are supported?
because my client having no Internet Connection.

note:
1. my client having no internet connection
2. i dont want using resx files.

解决方案

Try this link:
Language Conversion in ASP.Net[^]
Convertion of one language to another[^]


1. You dont want to use internet.
2. You dont want to use resx files.

Then the third option for you is"

3. You can write your own language translator. Before that you will have to study all the languages you want to translate to..Since every language is different from each other in grammatical and linguistic context, the translator will not be 100% perfect. Google translator is still striving for the perfection.

Once you complete writing the translator, you can showcase it to google or Microsoft and they will hire you on a grand salary..

For more details check this discussion

http://stackoverflow.com/questions/4001056/how-to-write-a-human-language-translator-software-that-supports-multiple-languag[^]

And yes, your question reminded me of one of my college friend who wanted to write his own operating system as a college project.

Edit:

I found this link which demonstrates using google translator offline mode using the translator APIs . Check if this works

http://digitalforces.blogspot.in/2012/04/offline-google-translator-by-c.html[^]


use this.when you upload it into web server then google translator work.<br />
<br />
<html><br />
<head><br />
<title><br />
abc</title><br />
</head><br />
<body><br />
<br />
<br />
<div id="flag_icon"> 						<div <br />
<br />
id="google_translate_element"></div><script> 						                         <br />
<br />
                    function googleTranslateElementInit() { 						         <br />
<br />
                                        new google.translate.TranslateElement({ 					<br />
<br />
	                                                     pageLanguage: ''be'' 					<br />
<br />
	                                                 }, ''google_translate_element''); 				<br />
<br />
		                                             }    					<br />
<br />
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>  		<br />
<br />
				</div><br />
<br />
Rohit Sharma<code><code><code><code><code><code>


</body>
<html>


这篇关于ASP.NET中的语言转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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