For Spring Boot to auto configure a MessageSource it checks the existence of the .properties. If that exists a MessageSource is configured, else nothing is configured and no messages will be resolved. To fix add an empty .properties to src/main/resource to have the MessageSource automatically configured.
@@abderrahmenalhelaoui5813 , The keys for the values that will be localized have to be the same in every file, with values appropriate to the language they correspond to, to fix it just put in these line in the corresponding files like this: messages.properties: common.hello=Welcome!, no language key('en' or 'fr') mentioned messages_us.properties: common.hello=Hello! Welcome to our i18n app! messages_fr.properties: common.hello=Bonjour! Bienvenue sur notre app i18n
Thanks Bouali great video. On spring boot 2.7 when I have a problem with LocalResolver. It tells me that it is already defined when I try to run the code. Thanks again.
@@BoualiAli there are libraries like flyway or liquibase that work as version control for database, when we want to modify schema of our database, it is recommended to use them.
💚 Alles Gute und weiterhin viel Erfolg
Viel Glück, tolles Video
Tolles Video, viel Glück!
Thank you so much
good job ali Thank's
Welcome
keep going.. good job
Thanks a lot
i get this error message: No message found under code 'common.hello' for locale 'en_US', can know why?
For Spring Boot to auto configure a MessageSource it checks the existence of the .properties. If that exists a MessageSource is configured, else nothing is configured and no messages will be resolved.
To fix add an empty .properties to src/main/resource to have the MessageSource automatically configured.
@@BoualiAli I have made as you did, but the error persist
@@abderrahmenalhelaoui5813 , The keys for the values that will be localized have to be the same in every file, with values appropriate to the language they correspond to, to fix it just put in these line in the corresponding files like this:
messages.properties:
common.hello=Welcome!, no language key('en' or 'fr') mentioned
messages_us.properties:
common.hello=Hello! Welcome to our i18n app!
messages_fr.properties:
common.hello=Bonjour! Bienvenue sur notre app i18n
Thanks Bouali great video. On spring boot 2.7 when I have a problem with LocalResolver. It tells me that it is already defined when I try to run the code. Thanks again.
In spring 2.7.0 they changes a bunch of stuff. I will try to update / create new tutorials for the the new version
Can you talk about database migration on next vedios
Thanks you 💕
Can you clarify your question more please
@@BoualiAli there are libraries like flyway or liquibase that work as version control for database, when we want to modify schema of our database, it is recommended to use them.
@@lts8683 now I understand the question
I will prepare a video for that
Hello Ali, this is a good tutorial. Please can you share source or a github link ?
Here it is
github.com/ali-bouali/spring-boot-workshops
Don’t forget the star ⭐️ 😁
@@BoualiAli its something else not code of this video
are there any VCS hosted your code ? thanks
github
can u share the source code ? .. ty
Will be available soon, Stay tuned