I have this piece of code in my template:
<label th:text="${#locale.language}">lang</label>
<!-- Label and select fields for day, month, and year of birth -->
<label for="dayOfBirth" th:content="#{date.of.birth}" >Date of Birth:</label>
I see that the locale change , but is not getting the value from the different messages properties