You need to ensure that the correct language-specific resources are used

You are developing a Windows Store app by using HTML5 and JavaScript. The app will
support both the English and French languages.
The app must meet the following requirements:
Automatically load language-specific string resources from a resource file, and access the
resources from within the HTML by using data-win res attributes.
Use the base.js file from the Windows Library for JavaScript.
You need to ensure that the correct language-specific resources are used.
What should you do?

You are developing a Windows Store app by using HTML5 and JavaScript. The app will
support both the English and French languages.
The app must meet the following requirements:
Automatically load language-specific string resources from a resource file, and access the
resources from within the HTML by using data-win res attributes.
Use the base.js file from the Windows Library for JavaScript.
You need to ensure that the correct language-specific resources are used.
What should you do?

A.
Specify both the element properties and the resource names of data-win-res attributes,
and process the data-win-res attributes in the onactivated event.

B.
Specify only the properties of data-win-res attributes, and process the data-win-res
attributes prior to the DOMContentLoaded event.

C.
Specify both the element properties and the resource names of data-win-res attributes,
and process the data-win-res attributes immediately after the DOMContentLoaded event.

D.
Specify only the resource names of data-win-res attributes, and process the data-win-res
attributes in the onactivated event.



Leave a Reply 0

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