I'm trying to localise a string with a variable using String.Format (as mentioned by Aaron in another post)...
This is my localisation string
HELLO_STRING=Hello {0}, welcome to the club
This is the code I'm using to set the variable
_speechLabel.GetComponent<UILocalize>().key = "HELLO_STRING";
_speechLabel.GetComponent<UILocalize>().Localize();
_speechLabel.text = String.Format(_speechLabel.text, "Bob");
But no matter what I try, the {0} still always appear in my game and never gets replace with 'Bob'.
Thanks