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:
parent
3a566b4cce
commit
a9a3f3ba58
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue