I am creating a web application using Thymeleaf with Spring. For that, I am following following document:
http://www.thymeleaf.org/doc/articles/thvsjsp.html
In this document, following code is being discussed:
https://github.com/thymeleaf/thymeleafexamples-thvsjsp
I am trying to get internationalization with Hindi (Indian language), for that I forked the repo given above and added one property file related to hi_IN (hindi-India), please see below code base on github:
https://github.com/prashantbhardwaj/thymeleafexamples-thvsjsp/tree/locale_change
When I tried, instead of getting hindi in browser, I got questions marks. I tried changing encoding of this property file from ISO-8859-1 to UTF-8, but no benefit. Values, I am expecting for given properties are as follows:
subscription.email=ईमेल
subscription.type=प्रकार
subscription.submit=प्रेषित करें!
subscriptionType.ALL_EMAILS=सभी ईमेल
subscriptionType.DAILY_DIGEST=प्रतिदिन का पत्र
In Messages_hi_IN.properties file, I changed all the values from hindi (which was not hindi but escaped version of hindi) to english so you can copy and paste values which are provided by me.
Could you please help get me desired results? Locale for Hindi is hi_IN.