Microsoft
70-519 · Question #165
You are designing an ASP.NET Web application. Each page of the Web application will have a common master page and derive from a common base page class. You have the following requirements: - Support…
The correct answer is C. In the Web.config file, add a globalization element with the uiCulture attribute set to auto. See the full explanation below for the reasoning.
Question
You are designing an ASP.NET Web application. Each page of the Web application will have a common master page and derive from a common base page class. You have the following requirements:
- Support multiple languages for user interface labels.
- Enable automatic detection of language based on browser language
settings. You need to recommend an approach to support localization. What should you recommend?
Options
- AIn the code-behind for the master page, override the OnInit() method.
- BIn the code-behind for the base page, override the InitializeCulture() method.
- CIn the Web.config file, add a globalization element with the uiCulture attribute set to auto.
- DIn the Web.config file, add a globalization element with the responseEncoding attribute set to
How the community answered
(22 responses)- A14% (3)
- B5% (1)
- C73% (16)
- D9% (2)
Community Discussion
No community discussion yet for this question.