Hi Nuwan,
Thanks a lot for your quick response.

I am doing that by using following site 

http://www.utf.ru/tables/arabic.html

i am using sample example struts2-blank-2.1.6.war

HelloWorld.jsp

    <li>
        <s:url id="url" action="HelloWorld">
            <s:param name="request_locale">ar</s:param>
        </s:url>
        <s:a href="%{url}">Arabic</s:a>
    </li>

package_ar.properties

HelloWorld.message= ت
requiredstring = ${getText(fieldName)} ة.
password = تت
username = جج
Missing.message =؃

I iam sucessful to get it in tittle but not in page why? :(.its like Arbic
is recognized in Action class i.e java like setMessage(getText(MESSAGE)); )
and even in validation framework as

    <field name="username">
        <field-validator type="requiredstring">
            <message key="requiredstring"/>
        </field-validator>
    </field>


above will also evaluate to proper arabic character but brower wont render
it properly if its from jsp like

<s:property value="message"/>

I am using firefox and tools-options-advance-languages is to Arabic 
-- 
View this message in context: 
http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp22222312p22240691.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to