How to show localization messages with parameters in Spring 3 / Thymeleaf

You can use

#{welcome.message(${some.attribute})}

where some.attribute would be the value to use when replacing {0}.

You should be able to comma separate the values between the () to add more values to be used.

Leave a Comment