Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top