语言转换 [英] Language conversion

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

问题描述

朋友们,
当天的问候!

我正在开发一个网站,并且想使用语言转换

我正在使用Asp.NET 2.0和C#2.0


我想要的是三个名为英语,泰语和日语的超链接.
该网站的默认语言将为英语,当有人单击泰语时,该网站的全部内容将为泰文;当某人单击日语时,该网站的完整内容将为日文,而某人单击英语的全部内容,将为日文的网站将为英文.

请告诉我该怎么办??
给我一些参考链接....

在此先感谢:-
Navin

Hi friends,
Greetings for the Day''s!!

I am developing a website, and I want to use language conversion

I am using Asp.NET 2.0 and C# 2.0


What I want I have three hyperlinks named English, Thai and Japanese.
The website default language will be English, when somebody clicks on Thai, the full content of the website will be Thai, when somebody clicks on Japanese, the full content of the website will be Japanese, and some body clicks on English, the full content of the website will be English.

Kindly tell me what can I do.?
Give me some ref links....

Thanks in advance:-
Navin

推荐答案

您需要从资源文件中获取所有字符串,然后指向所使用语言的正确字符串. google上有大量与此相关的资源.
You need to get all your strings from resources files, and then point to the right one for the language you''re using. There''s tons of resources about this on google.


您需要对网站进行全球化和本地化.

本文将助您一臂之力: ASP.NET 2.0中神秘化的全球化和本地化 [
You need to Globalize and Localize your website.

This article should get you going: Globalization and localization demystified in ASP.NET 2.0[^]

Modify the article based on what your requirement is. Internally, it is setting up the locale of your website.


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

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