Which strategy should you recommend?

You are designing an ASP.NET Web application that will support multiple display
languages. You have the following requirements: • Change server control settings based on
the selected language. • Enable strongly typed access to the resource objects. You need to
recommend a strategy for localizing server control properties. Which strategy should you
recommend?

You are designing an ASP.NET Web application that will support multiple display
languages. You have the following requirements: • Change server control settings based on
the selected language. • Enable strongly typed access to the resource objects. You need to
recommend a strategy for localizing server control properties. Which strategy should you
recommend?

A.
Add the Localizable attribute to the control definitions in the code-behind. In the
App_LocalResources folder, create a resource file that contains localized values with keys
named according to the <ControlId>.<PropertyName> format.

B.
Use explicit resource expressions and store the resource file in the
App_GlobalResources folder.

C.
Wrap localized server controls with a Localize server control. In the
App_GlobalResources folder, create a resource file that contains localized values with keys
named according to the <LocalizeId>.<ControlId>.<PropertyName> format.

D.
Use implicit resource expressions and store the resource file in the App_LocalResources
folder.



Leave a Reply 0

Your email address will not be published. Required fields are marked *