title: How to show localization messages with parameters in Spring 3 / Thymeleaf
body: <p>I'm using Spring 3 and Thymeleaf to make some webpages and I am lost as for how to show messages like this:</p>
  
  <p>welcome.message=Hello {0}, welcome!</p>
  
  <p>and then replace {0} with the user name inside thymeleaf tags:</p>
  
  <pre><code>&lt;h1 th:text="#{welcome.message}"&gt;Welcome Placeholder&lt;/h1&gt;
  </code></pre>
  
  <p>I'm not even sure if {0} is the right syntax for the bundle message.</p>