PrepAway - Latest Free Exam Questions & Answers

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:

PrepAway - Latest Free Exam Questions & Answers

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

4 Comments on “Which four actions should you perform in sequence?

  1. GP says:

    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




    0



    1
  2. Lord Vader says:

    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.




    2



    0

Leave a Reply