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