title: how to add Urdu language support in spring web application
body: <p>I need to add Urdu language support to my web application. I created two properties file like below</p>
  
  <pre><code>messages_en.properties
  messages_ar.properties
  </code></pre>
  
  <p>and I configured my spring xml like below</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;beans:bean id="messageSource"
          class="org.springframework.context.support.ReloadableResourceBundleMessageSource"&gt;
          &lt;beans:property name="basename" value="classpath:messages" /&gt;
          &lt;beans:property name="defaultEncoding" value="UTF-8" /&gt;
      &lt;/beans:bean&gt;
  
      &lt;beans:bean id="localeResolver"
          class="org.springframework.web.servlet.i18n.CookieLocaleResolver"&gt;
          &lt;beans:property name="defaultLocale" value="en" /&gt;
          &lt;beans:property name="cookieName" value="myAppLocaleCookie"&gt;&lt;/beans:property&gt;
          &lt;beans:property name="cookieMaxAge" value="3600"&gt;&lt;/beans:property&gt;
      &lt;/beans:bean&gt;
  
      &lt;interceptors&gt;
          &lt;beans:bean
              class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor"&gt;
              &lt;beans:property name="paramName" value="locale" /&gt;
          &lt;/beans:bean&gt;
      &lt;/interceptors&gt;
  </code></pre>
  
  <p>in  <code>messages_ar.properties</code> I put Arabic letters and I saved. If I call <code>locale=ar</code> browser doesn't display Urdu letters. I refer to <a href="http://www.journaldev.com/2610/spring-mvc-internationalization-i18n-and-localization-l10n-example" rel="nofollow">the following example  for internationalization</a>.</p>