开发者

making of multilanguage web site?

开发者 https://www.devze.com 2023-03-02 04:57 出处:网络
Kindly guide me how to make a site that support 2 languages. On joining the site use will select default language. If user select English all pages, button texts and email should be in English but if

Kindly guide me how to make a site that support 2 languages. On joining the site use will select default language. If user select English all pages, button texts and email should be in English but if user select any other language site for him should be coming in that language. The following areas are language specif开发者_开发问答ic.

  1. Buttons, Labels, headings and all captions.
  2. Email texts and notifications
  3. All messages including error messages.

Important thing is that currently I want to make this site in 2 languages but later I may want to convert it to other languages.

Please guide.

thanks


Your basically looking to find out the options for Internationalization & Localization provided by .Net. These typically rely on a combination of language specific resource files & use of the utilities & locale information provided by the System.Globalization namespace. There is a very good step-by-step tutorial which guides you through this process here:

http://www.codeproject.com/KB/locale/Internationalization_I18N.aspx

The tutorial is aimed at the construction of a desktop application however the vast majority of it's contents are applicable to a website/web-app. There are also some fantastic asp.net specific resources available here:

http://wiki.asp.net/page.aspx/55/internationalization/

0

精彩评论

暂无评论...
验证码 换一张
取 消