一、IDEA 中使用Thymeleaf配置i18n
- Thymeleaf官网:https://www.thymeleaf.org/
- Thymeleaf在Github的主页:https://www.github.com/thymeleaf/thymeleaf
二、使用步骤
-
在resources文件夹下,创建个i18n文件夹
-
在i18n文件夹下,创建第一个登录界面的 login.properties 文件
-
再创建一个带国际缩写的login_zh_CN.properties文件(创建完,IDEA会自动合并)
-
继续增加 login_en_US.properties
<