I have strings with some numbers and english words and I need to translate them to my mother tongue by finding them and replacing them by locallized version of this word. Do
String str = "to"; str.replace("to", "xyz");
Just try it :)