Which naming convention should you use?

You are developing a multilingual Web site by using Silverlight 4 and Microsoft Visual Studio 2010. The Silverlight application must support three languages: English, French, and French
(Canada). You need to ensure that the application meets the following requirements:
It uses one resource file for each language.
It automatically selects the appropriate resource file without the use of additional code.
It uses the appropriate resource files if the end users browser supports English, French, or French (Canada).
It uses the French resource file if the end users browser supports only French (Belgium).
It uses the English resource file if the end users browser does not provide the language it supports. Which naming convention should you use?

You are developing a multilingual Web site by using Silverlight 4 and Microsoft Visual Studio 2010. The Silverlight application must support three languages: English, French, and French
(Canada). You need to ensure that the application meets the following requirements:
It uses one resource file for each language.
It automatically selects the appropriate resource file without the use of additional code.
It uses the appropriate resource files if the end users browser supports English, French, or French (Canada).
It uses the French resource file if the end users browser supports only French (Belgium).
It uses the English resource file if the end users browser does not provide the language it supports. Which naming convention should you use?

A.
MyResource.resx, MyResource.fr.resx, and MyResource.frca.resx

B.
MyResource.english.resx, MyResource.french.resx, and MyResource.frenchcanada.resx

C.
MyResource.english. xml, MyResource.french.xml, and MyResource.frenchcanada.xml

D.
MyResource.xml, MyResource.fr.xml, and MyResource.frca.xml



Leave a Reply 0

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