How to display messages in Thymeleaf and Spring Boot?

后端 未结 5 1859
深忆病人
深忆病人 2021-02-01 05:58

I created a Spring Boot web application that uses Thymeleaf as the template engine. I configured the MessageSource to look for messages in a subfolder:



        
5条回答
  •  被撕碎了的回忆
    2021-02-01 06:23

    Is there a file messages.properties (no _de) present to allow fallback? Does it work? Is your browser set to locale DE_de ?

提交回复
热议问题