Thymeleaf i18n resolved (#1016)

* How to work with dates in Thymeleaf

* Fixes in PR for Thymeleaf

* Changes to i18n

* Resolved issue with i18n
This commit is contained in:
maibin 2017-01-19 16:55:19 +01:00 committed by GitHub
parent 3a566b4cce
commit a9a3f3ba58
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ public class WebMVCConfig extends WebMvcConfigurerAdapter implements Application
engine.addDialect(new LayoutDialect(new GroupingStrategy()));
engine.addDialect(new Java8TimeDialect());
engine.setTemplateResolver(templateResolver);
engine.setTemplateEngineMessageSource(messageSource());
return engine;
}