Which four actions should you perform in sequence?

DRAG DROP
You are developing a Universal Windows Platform (UWP) app.
You have the following XAML code.

You need to localize the app so that it displays “Bonjour” if the current language in Windows is set to French.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of
actions to the answer area and arrange them in the correct order.
Select and Place:

DRAG DROP
You are developing a Universal Windows Platform (UWP) app.
You have the following XAML code.

You need to localize the app so that it displays “Bonjour” if the current language in Windows is set to French.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of
actions to the answer area and arrange them in the correct order.
Select and Place:

Answer:

Explanation:
Box 1, Box 2:
The localized Resources.resw files should be put into subfolders of a folder named Strings.
Box 3:
The Resources.resw files contain localized text.
Box 4:
In Visual Studio you can set “Build Action” for a project item to ‘Resource’ or ‘Embedded Resource’ A “.resx” file
is a special kind of embedded resource.

https://msdn.microsoft.com/library/aa992030(v=vs.100).aspx



Leave a Reply 4

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


GP

GP

I think that the answer is wrong, because we have to keep default Build action for Resources.resw (PRIResource). Current answer doesn’t work. Here is working solution:

I guess that correct answer is:
– box number 2
– box number 7
– box number 6

Lord Vader

Lord Vader

we are modifying the text attribute of the textbox.
x:uid attribute is now the unique identifier of our resource string. teh system will find all resource strings with message prefix and assign props that are declared there.

so we would need to include in the resw file the name message as the text attribute is already there but u also have to add the localised text as well.

2.7. 6. 1.

Lord Vader

Lord Vader

it should be 5 answers: 2 7 6 1 4; otherwise op might be correct.
Add the localised text could be “[name] message.text [value] bonjour” in the resw file