You should use x:Uid
For example, you want to set "Save" as Content of a button. So you can add x:Uid = "SaveButton" to the button and then create an entry in Resource file named "SaveButton.Content" and set its value to "Save".
x:Uid = "SaveButton"