I am new to Play and Scala as well. And I meet a problem with i18n while reading book "Play with Scala". The problem was the Messages
object, which has to be obtained in every template to let application work properly.
What bothers me is that even if I don't use the Messages
object in one of my Scala template files, but I inherit/call another template in it, I still have to add
(implicit messages: Messages)
at the top of the file.
Can somebody explain me why is that? Is it necessary to add the Messages
object in every template? Its quite problematic and I am sure it can be solved somehow.