SpringBlog icon indicating copy to clipboard operation
SpringBlog copied to clipboard

included messages.properties file in app config

Open nate-getch opened this issue 7 years ago • 3 comments

Need spring.messages.basename defined in app config so it can be accessed from the view templates.

nate-getch avatar Feb 08 '18 21:02 nate-getch

Good! It's better to have a complete way to do i18n stuff. I'll consider it later.

Back to your commit, it seems the spring.messages.basename config path is not right, since it already has a parent path spring

Raysmond avatar Feb 11 '18 05:02 Raysmond

If you are open to collaboration and merging my code, I am interested to work on the i18n feature.

Regarding my commit, I have tested the thymeleaf template pages reading the i18n/messages dir properly.

nate-getch avatar Feb 14 '18 19:02 nate-getch

Yes, you're welcome to contribute. Can you commit a simple example, including the message property files and usages in thymeleaf? So I can review them and see if it's ok to merge.

Raysmond avatar Feb 16 '18 14:02 Raysmond