Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
Hi Kavita, If you use http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312p22437387.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
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. Appriciate your help. Thanks & Regards, Kavita 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 link i am also facing same problem for Arabic.plz > help! > > http://mail-archives.apache.org/mod_mbox/struts-issues/200902.mbox/%3c404086922.1233610965824.javamail.j...@brutus%3e > > Thanks & Regards, > Sajid > -- View this message in context: http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312p22428688.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
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 returns proper i18n even Arabic. this tag wont return proper Arabic i18n .unless we do . i really dint understand how come spanish ,german work but not Arabic. Next or wont even gives me proper i18n. When form is submitted will be in i18n but not .i have declared validation as follows true Login name is required i used following link http://www.utf.ru/tables/arabic.html to get utf-8 characters.. MMSApplicationMessages_ar.properties error.password.match=؏ some.key1= some.key=ج some.key8=غ MMSApplicationMessages.properties error.password.match= Sajid retype password some.key1=Login Name1 some.key=Login Name some.key8=Login Name8 struts.properties struts.multipart.maxSize=4194304 #struts.enable.DynamicMethodInvocation = false ### Parser to handle HTTP POST requests, encoded using the MIME-type multipart/form-data # struts.multipart.parser=cos # struts.multipart.parser=pell struts.multipart.parser=jakarta # uses javax.servlet.context.tempdir by default struts.multipart.saveDir=c:\gowri struts.devMode = true struts.i18n.reload=true struts.locale=ar_SA struts.i18n.encoding=UTF-8 struts.custom.i18n.resources=MMSApplicationMessages struts.ui.theme=xhtml struts.ui.templateDir=template Form Welcome to "MMS Application "... Enter Login Details New User SignUP More over i am able to see following warnings in console Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [theme] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [theme] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [templateDir] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [templateDir] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [theme] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [theme] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [fieldErrors] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [fieldErrors] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [fieldErrors] Please help me to sort out this issue.. Thanks Sajid -- View this message in context: http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312p22282614.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
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? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
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: http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312p22275384.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
i have changed to Still problem din't resolved. How about these too are not i18n only works fine More over i am able to see following warnings in console Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [theme] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [theme] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [templateDir] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [templateDir] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [theme] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [theme] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [fieldErrors] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [fieldErrors] Feb 28, 2009 12:56:15 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn WARNING: Could not find property [fieldErrors] -- View this message in context: http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312p22259630.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
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. Thanks, Nuwan Hi Nuwan, I tried and i got it as you said to Can you please elaborate what exactly it conveys to browser and what was going wrong ? But still that doest resolve my issue These above Tag's are still not getting updated with localization and how will you differentiate spanish worked with out all these rules why? and the action fields after validation still giving me problem as key i will be getting in English Locale true Login name is required gets proper i18n but won't How can we make sure , will also work ? Thanks, Sajid - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
Hi, have you tried this. Thanks, Nuwan Hi Nuwan, I tried and i got it as you said to Can you please elaborate what exactly it conveys to browser and what was going wrong ? But still that doest resolve my issue These above Tag's are still not getting updated with localization and how will you differentiate spanish worked with out all these rules why? and the action fields after validation still giving me problem as key i will be getting in English Locale true Login name is required gets proper i18n but won't How can we make sure , will also work ? Thanks, Sajid -- View this message in context: http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312p22244146.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
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 ar Arabic 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 above will also evaluate to proper arabic character but brower wont render it properly if its from jsp like 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-tp2312p22240691.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
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 ar Arabic 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? :( -- View this message in context: http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312p22240539.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Please help to get Arabic i18n(internationalization) using struts2.1.6
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 link i am also facing same problem for Arabic.plz help! http://mail-archives.apache.org/mod_mbox/struts-issues/200902.mbox/%3c404086922.1233610965824.javamail.j...@brutus%3e Thanks & Trgards, Sajid - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org