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

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top