Question

Kindly explain how Play read messages files.I want to understand how play looks for messages files and how it read. It will be highly grateful if I can see the method and class where it is implemented.

Thanks

Was it helpful?

Solution

You can browse Playframework's source on GitHub.

https://github.com/playframework/playframework/blob/master/framework/src/play/src/main/scala/play/api/i18n/Messages.scala

I think that is the file you are interested in. Hopefully you are familiar with Scala, the Java API just ends up calling these Scala classes.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top