Open gabbloquet opened 3 years ago
This is interesting too : https://www.baeldung.com/spring-boot-internationalization
@ecattez i think we have to use JQuery if we want to change lang on selection (with select). For now i will use a button to be html compliant. https://stackoverflow.com/questions/49580565/onchange-method-not-working-with-thymeleaf-select-option/51573466
To begin, we will use the language set in the web browser's preferences. HTTP Requests are sent with an Accept-Language
header containing the language we should use for the responses.
We want to be able to carry multi language. Documentation : https://phrase.com/blog/posts/how-to-localize-spring-applications-like-a-pro/