title: period in string doesn't get replaced
body: <p>I have a string "messages.get.342" that I want to convert to "messages/get/342". Unfortunately, when I call <code>"messages.get.342".replace('.', '/')</code>, I get <code>"messages/get.342"</code>. What gives?</p>