How to create web app i18n with SpringBoot and JSF

Asked on March 05, 2017
I want to build a web application that supports multiple languages. I have integrated SpringBoot, JSF and use resouce bunlde to display my label. But I have a problem with encoding UTF-8.
Please guide me how to integrated SpringBoot and JSF using resource bundle.
Thanks a lot!

Replied on March 05, 2017
You need to configure MessageSource in your MVC configuration.

public MessageSource messageSource() {
    ReloadableResourceBundleMessageSource messageSource = new ReloadableResourceBundleMessageSource();
    return messageSource;

Find the URLs that can help you.

Write Answer

©2024 | Privacy Policy | Contact Us