Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

included messages.properties file in app config #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nate-getch
Copy link

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

@Raysmond
Copy link
Owner

Raysmond commented Feb 11, 2018

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

@nate-getch
Copy link
Author

nate-getch commented Feb 14, 2018

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.

@Raysmond
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants