Hi Friends,
I am also trying out the same example and facing the same problem.
I am trying to make japanese locale but not able to do that.
I have saved the package_ja.properties file as UTF-8 type.
I have tried all the option mention below but all in vain.
Can anyone please help.
Hi Kavita,
If you use s:form theme=simple then key will work use utf-8 link which i
have send or you can even go with s:text also.if you have any more clarity
ping me on sajidbig...@gmail.com
bye
--
View this message in context:
we can make it in Spanish,German and few but few we cant.which we cant is
Arabic. is this a bug can i report to devlopment list?can any one help me
out? :(
--
View this message in context:
sajidbigler wrote:
we can make it in Spanish,German and few but few we cant.which we cant is
Arabic. is this a bug can i report to devlopment list?can any one help me
out? :(
Can you describe the exact problem again? Under what circumstances are
you unable to get localized Arabic messages?
Hi Dave,
Its like when i tried struts2-blank-2.1.6.war example and its working
fine.here the logic is not much more complicated.here s:text
name=HelloWorld.message/ returns proper i18n even Arabic.
s:property value=message / this tag wont return proper Arabic i18n
.unless we do s:property
Hi,
have you tried this.
s:property value=message escape=false/
Thanks,
Nuwan
Hi Nuwan,
I tried and i got it as you said to s:property value=message
escape=false/
Can you please elaborate what
http://struts.apache.org/2.x/docs/how-do-i-add-i18n-to-a-ui-tag-like-the-textfield-tag.html
sajidbigler wrote:
Hi,
have you tried this.
s:property value=message escape=false/
Thanks,
Nuwan
Hi
i have changed s:textfield name=username key=some.key /
to
s:textfield label=%{getText('some.key')} name=username /
Still problem din't resolved.
How about s:fielderror / these too are not i18n only s:actionerror /
works fine
More over i am able to see following warnings in console
Feb
Hi Friends,
I tried struts2-blank-2.1.6.war example and its working fine.but when i
tried to make it arabic locale i am not able to make it :(
with reference to below link i am also facing same problem for Arabic.plz
help!
Hi,
you have to convert the arabic into Unicode and put to the message
properties file,
Thanks,
Nuwan
sajidbigler wrote:
Hi Friends,
I tried struts2-blank-2.1.6.war example and its working fine.but when i
tried to make it arabic locale i am not able to make it :(
with reference to below
Hi Numan,
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_localear/s:param
/s:url
s:a
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_localear/s:param
12 matches
Mail list logo