不使用.resx的Web应用程序的多语言支持(资源文件) [英] Multilingual support for web application without .resx (Resource file)

查看:62
本文介绍了不使用.resx的Web应用程序的多语言支持(资源文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我使用Asp.net和C#开发了一个网站。现在我想用不同的语言翻译现有的网站。这是非常沉重的网站,无法为每个页面创建资源文件。

请建议我在现有网站上支持多语言的最佳方式,无需创建.resx(资源文件)



谢谢

Gulshan

Hi All,

I have developed a website using Asp.net and C#. now i want to translate the existing website in different different language. this is very heavy website and can not create resource file for each page.
please suggest me best way to support multilingual in existing website without creating .resx (resource file)

Thanks
Gulshan

推荐答案

最简单的方法是在您的网站中使用谷歌翻译工具。其他选项可能在数据库上设置了一些内容,但这又与不同语言的不同资源文件相同。





我们使用的是什么在我们的一个项目中,我们将记录保存到xml文件,并允许用户仅根据他们的语言/单词修改它们,它们主要用于公司。一些分支称为工作代码而其他分支称为工作号,因此根据需要,管理员可以更改一次,之后将从数据库加载。

(但是如果你需要显示较少描述的文件,这将被使用。)如果你需要显示长段落和其他内容谷歌翻译将是一个好主意。
well simplest way is to use google translate tool in your website. other options may be set something on database but again this will be same like different resource file for different language.


what we are using in one of our project that we save the records to xml file and allow users only to modify that based on their language / words they are mainly use in theire company. some branches called it job code while other called it job number so based on their need admin can change things once and after that it will load from the database.
(however this will be used where u have fileds with less description.) if you need to display long paragraphs and other contents google translate would be a good idea.


这篇关于不使用.resx的Web应用程序的多语言支持(资源文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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