如何在asp.net中开发多语言网站? [英] How to develop multilingual website in asp.net?
本文介绍了如何在asp.net中开发多语言网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在asp.net中创建一个多语言网站,我知道添加资源文件会起作用,但我的问题是假设我想用法语显示我的网站,所以就像我需要为每个文本添加翻译资源文件或是否可能asp.net会自动将内容翻译成法语
我尝试过:
我添加了一个资源文件,做了资源条目Greet并在应用程序中引用greet,我是否需要为所有内容做同样的事情
i need to create a multilingual website in asp.net, i know adding resource file would work , but my question is suppose i want to display my website in french language so is it like i need to add translation for each text in resource file or is it possible asp.net will automatically translate the content to french
What I have tried:
I have added a resource file , made a resource entry Greet and referred greet in application, do i need to do same for all contents
推荐答案
我建议你从这里开始:
ASP.NET全球化和本地化 [ ^ ],
C#Corner:错误显示 [ ^ ]。
-SA
I suggest you start here:
ASP.NET Globalization and Localization[^],
C# Corner : Error Display[^].
—SA
这篇关于如何在asp.net中开发多语言网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文