Domanda

In My Project, there are different web pages and My requirement is when a User logs on based on user's language,page has to be displayed in user language.

I have googled it,but does not get proper solution.

I have got Satellite Asssemblies as a solution,but how to implement it?

È stato utile?

Soluzione

MSDN documentation of ASP.NET localization is good place to start reading about it. Basic steps are as follows:

  1. Localize your web pages - these would create language specific resources that will yield satellite assemblies for supported languages.
  2. Localize other aspects within application e.g. date/time formatting and input, images, user messages etc
  3. Set the culture and UI culture within your web pages as per needs (e.g. based on browser settings or user preference or user selection etc.). See this for how to do it.

See this walk-through that would quickly walks through basic steps.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top