I finally figured it out. In your code change the following:
S̶2̶M̶<l̶o̶c̶a̶l̶i̶z̶e̶s̶>(̶S̶:̶s̶t̶r̶i̶n̶g̶)̶:̶m̶e̶s̶s̶a̶g̶e̶=̶"{̶S̶}̶"
S2M(S:int):message=“${S}”
and
T̶e̶x̶t̶B̶l̶o̶c̶k̶.S̶e̶t̶T̶e̶x̶t̶(̶S̶2̶M̶(̶"{̶M̶y̶R̶e̶s̶o̶u̶r̶c̶e̶}̶")̶)̶
TextBlock.SetText(S2M(MyResource))