RE: Localization in struts 2

2009-12-09 Thread Muthu Velappan
rom larger group rather than specific individual. -Original Message- From: sarava...@elogic.co.in [mailto:sarava...@elogic.co.in] Sent: Thursday, December 10, 2009 10:34 AM To: muthu.velap...@aspiresys.com Subject: RE: Localization in struts 2 Hi Muthu, I would like to know ab

Re: Localization

2009-10-23 Thread Jiunn Haur Lim
I see. Thanks! On Fri, Oct 23, 2009 at 9:53 PM, Greg Lindholm wrote: > Each validator makes different properties available but it's a little bit of > detective work to figure out which ones are available.  I often find myself > browsing thru the source to figure this out. > > If you look at the d

Re: Localization

2009-10-23 Thread Greg Lindholm
Each validator makes different properties available but it's a little bit of detective work to figure out which ones are available. I often find myself browsing thru the source to figure this out. If you look at the doc for RequiredStringValidator [1] you will see is has a parameter fieldName. [

Re: Localization and Dates

2009-10-01 Thread Lukasz Lenart
2009/10/1 Robin Mannering : > It seems that the Date conversion provided by struts/xwork is not working in > this case as expected. > > I have no idea if this is a config issue or not. > > If nobody else can shed a light on this problem, I shall fall back to > defining date fields as String and fol

Re: Localization and Dates

2009-10-01 Thread Robin Mannering
Thanks very much for the detailed answer Greg. Thanks Tommy for the links but the problem I have isn't related to displaying of dates. Specifically, I've narrowed it down to the type conversion carried out by Struts. The struts type conversion documentation states type conversion for dates

Re: Localization and Dates

2009-09-30 Thread Greg Lindholm
Properly handling dates in a fully internationalized application can be harder then you might think. As in your example "Dec. 20, 2009" is not an absolute value, it depends on which timezone the user is in because if may be Dec 20 in London, but it's already Dec 21 in Hong Kong. And of course 12/

Re: Localization and Dates

2009-09-30 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: Struts Users Mailing List > Sent: Wednesday, September 30, 2009 9:06:47 AM > Subject: Re: Localization and Dates > > - Original Message > > From: Robin Mannering > > To: Struts Users Mailing List >

Re: Localization and Dates

2009-09-30 Thread Tommy Pham
- Original Message > From: Robin Mannering > To: Struts Users Mailing List > Sent: Wednesday, September 30, 2009 2:18:58 AM > Subject: Localization and Dates > > Hello, > > Can anyone give me some 'best practice' advice for dealing with dates in > an international app (Struts2). > > W

Re: Localization in struts 2

2009-06-23 Thread Dave Newton
Johnson nickel wrote: public String execute() throws Exception{ System.out.println("Inside Index action"); request.getSession().setAttribute(org.apache.struts.Globals.LOCALE_KEY, new java.util.Locale("fr","FR")); System.out.println(request.getSess

Re: Localization in struts 2

2009-06-22 Thread Johnson nickel
or >> multiple >> language file??( like this code) >> >> request.getSession().setAttribute(org.apache.struts.Globals.LOCALE_KEY, >> new >> java.util.Locale("fr","FR")); >> request.getSession().setAttribute(org.apache.struts.Globals.LOCALE_K

Re: Localization in struts 2

2009-06-22 Thread Dave Newton
E_KEY, new java.util.Locale("en","US")); -Original Message- From: Johnson nickel [mailto:sarava...@elogic.co.in] Sent: 22 June 2009 11:28 To: user@struts.apache.org Subject: RE: Localization in struts 2 Can you explain in detail. i have ResourceBundle_hi.properties in my

RE: Localization in struts 2

2009-06-22 Thread Johnson nickel
cale("en","US")); -Original Message- From: Johnson nickel [mailto:sarava...@elogic.co.in] Sent: 22 June 2009 11:28 To: user@struts.apache.org Subject: RE: Localization in struts 2 Can you explain in detail. i have ResourceBundle_hi.properties in my web-inf/classes dir

RE: Localization in struts 2

2009-06-22 Thread Vishnu Vyasan Nelliparmbil
ay the text in views. -Original Message- From: Johnson nickel [mailto:sarava...@elogic.co.in] Sent: 22 June 2009 11:28 To: user@struts.apache.org Subject: RE: Localization in struts 2 Can you explain in detail. i have ResourceBundle_hi.properties in my web-inf/classes dir where to def

RE: Localization in struts 2

2009-06-22 Thread Johnson nickel
> > -Original Message- > From: Johnson nickel [mailto:sarava...@elogic.co.in] > Sent: 22 June 2009 09:58 > To: user@struts.apache.org > Subject: RE: Localization in struts 2 > > > > Hi, > I have tried the sample project 'Struts2i18n&#x

RE: Localization in struts 2

2009-06-22 Thread Muthu Velappan
lieve this will be more manageable than having a single properties file with 1000's of line... ~Muthu -Original Message- From: Vishnu Vyasan Nelliparmbil [mailto:vis...@mun.gov.bh] Sent: Monday, June 22, 2009 12:33 PM To: Struts Users Mailing List Subject: RE: Localization in struts 2

RE: Localization in struts 2

2009-06-22 Thread Vishnu Vyasan Nelliparmbil
. -Original Message- From: Johnson nickel [mailto:sarava...@elogic.co.in] Sent: 22 June 2009 09:58 To: user@struts.apache.org Subject: RE: Localization in struts 2 Hi, I have tried the sample project 'Struts2i18n' it's working fine. But, in my application i have differen

RE: Localization in struts 2

2009-06-21 Thread Johnson nickel
this would be a very difficult job to complete. > > Regards, > Muthu > > -Original Message- > From: Johnson nickel [mailto:sarava...@elogic.co.in] > Sent: Thursday, June 18, 2009 1:15 PM > To: user@struts.apache.org > Subject: RE: Localization in struts 2 >

RE: Localization in struts 2

2009-06-18 Thread Muthu Velappan
N O/P and encoding only. Regards, Muthu -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Friday, June 19, 2009 5:25 AM To: Struts Users Mailing List Subject: Re: Localization in struts 2 Martin Gainty wrote: > the lang lookup algorithm uses the provided locale t

Re: Localization in struts 2

2009-06-18 Thread Dave Newton
Martin Gainty wrote: the lang lookup algorithm uses the provided locale to lookup the accompanying text string romance and germanic languages come from the common EUROPEAN base which originate from single byte character set(s) converting to other languages employing Double Byte Character become

RE: Localization in struts 2

2009-06-18 Thread Martin Gainty
#x27;importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: muthu.velap...@aspiresys.com > To: user@struts.apache.org > Subject: RE: Localization i

RE: Localization in struts 2

2009-06-18 Thread Martin Gainty
Inhalt uebernehmen. > Date: Wed, 17 Jun 2009 23:58:15 -0700 > From: sarava...@elogic.co.in > To: user@struts.apache.org > Subject: Re: Localization in struts 2 > > > I have tried to copy the properties files text and opening in notepad > while saving i had selected the enc

RE: Localization in struts 2

2009-06-18 Thread Muthu Velappan
@struts.apache.org Subject: RE: Localization in struts 2 Thank you.. it's working fine. I have other issue.. in my application most of the places i used the images. I want to change images(like username,password) also in hindi. And, using this method, i can display the text from properties file

RE: Localization in struts 2

2009-06-18 Thread Johnson nickel
t the server you > should be able to see the hindi text properly in browser. > > Hope this solves your problem. > > Thanks, > Muthu > > -Original Message- > From: Johnson nickel [mailto:sarava...@elogic.co.in] > Sent: Thursday, June 18, 2009 12:28 PM > To

RE: Localization in struts 2

2009-06-18 Thread Muthu Velappan
@struts.apache.org Subject: Re: Localization in struts 2 I have tried to copy the properties files text and opening in notepad while saving i had selected the encoding type as UTF-8. But still i'm not able to see the hindi text in browser. And in my jsp i have added , <%@ page langua

Re: Localization in struts 2

2009-06-17 Thread Johnson nickel
I have tried to copy the properties files text and opening in notepad while saving i had selected the encoding type as UTF-8. But still i'm not able to see the hindi text in browser. And in my jsp i have added , <%@ page language="java" pageEncoding="utf-8" contentType="text/html;charset=utf-8"

Re: Localization in struts 2

2009-06-17 Thread Girish Naik
Is the Hindi text specified in the file in UTF8 format? ie /u0092 etc. Regards, - Girish Naik Mobile:-+91-09740091638 girish.n...@gmail.com Mitch Hedberg - "I drank some boili

Re: Localization in Struts 2.0

2009-03-30 Thread Paweł Wielgus
t; Your help is much appreciated. > > Regards, > Manoj > > > > -Original Message- > From: Paweł Wielgus [mailto:poulw...@gmail.com] > Sent: 30 March 2009 15:27 > To: Struts Users Mailing List > Subject: Re: Localization in Struts 2.0 > > Hi Manoj, > when You a

RE: Localization in Struts 2.0

2009-03-30 Thread Manoj Dhore
actions anticipating the request or do we have some inbuilt action is struts-default to take care of. Your help is much appreciated. Regards, Manoj -Original Message- From: Paweł Wielgus [mailto:poulw...@gmail.com] Sent: 30 March 2009 15:27 To: Struts Users Mailing List Subject: Re

Re: Localization in Struts 2.0

2009-03-30 Thread Paweł Wielgus
Hi Manoj, when You are accesing You are asking for Action.getTitle() method (or any other on the stack by that name). Simply try s:text or read: http://struts.apache.org/2.x/docs/text.html and http://struts.apache.org/2.x/docs/localization.html Best greetings, Paweł Wielgus. 2009/3/30 Manoj

Re: localization support for pt_PT and pt_BR

2008-12-18 Thread Paweł Wielgus
Hi riya, eclipse plugin ResourceBoundleEditor might help You with that kind of stuff. Best greetings, Pawel Wielgus. 2008/12/18, riya : > > Hi, > > Right now my application supports localization for portuguese. Resource > bundle name is MessageResources_pt.properties. As I know resource bundle > f

Re: localization issue for Italian language (package_it.properties)

2007-12-05 Thread GF
it's the N-th time you post the same stuff. On Dec 4, 2007 6:03 PM, Gigliotti, Andrea <[EMAIL PROTECTED]> wrote: > If you have struts 2.0.11 or 2.0.9 you can deploy the > struts2-blank-2.0.11.war file located into the "apps" folder (ex. > C:\struts-2.0.11\apps). > Before deploying the web app you

Re: localization

2007-12-03 Thread giglian
I tried using the example application (struts2-blank-2.0.11.war) and it working fine using package_es.properties and package.properties, that is I getting the messages in the right language. I get the same result using package_fr.properties rather than package_es.properties. But if I rename the pa

Re: localization

2007-12-03 Thread Kropp, Henning
This would be the place to look for: http://struts.apache.org/2.x/docs/i18n-interceptor.html btw... There are some broken links at http://struts.apache.org/2.x/docs/localization.html Especially the link to sitemesh plugin ought to be: http://struts.apache.org/2.x/docs/sitemesh-plugin.html instea

Re: localization

2007-11-30 Thread mgainty
http://struts.apache.org/2.x/docs/localization.html M-- - Original Message - Wrom: VZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQT To: Sent: Friday, November 30, 2007 8:30 AM Subject: localization > > my web app display message in jsp page ( using ) > always in one language. > I have two l

Re: Localization Problem

2006-11-15 Thread Chris Pratt
Check out the fmt tag in JSTL, that's it's whole purpose in life. But that's about as much as a tag library can do. Struts itself already has localization support built in. (*Chris*) On 11/15/06, Mahmoud Saeed(RSW) <[EMAIL PROTECTED]> wrote: Hi, I'm asking for an open source custom tag for l

Re: Localization

2004-10-12 Thread Craig McClanahan
On Tue, 12 Oct 2004 08:04:11 -0500, David Suarez <[EMAIL PROTECTED]> wrote: > > Do you have any recommended news group/mailing list for JSF users? > One popular place is the JSF Forum at the Java Developer Connection site (free registration required) at

RE: Localization

2004-10-12 Thread David Suarez
Do you have any recommended news group/mailing list for JSF users? Thanks!...djsuarez -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 4:51 PM To: Struts Users Mailing List Subject: Re: Localization On Fri, 8 Oct 2004 10:17:17 -0500, David

RE: Localization

2004-10-09 Thread Freddy Villalba A.
:)) -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: viernes, 08 de octubre de 2004 14:15 Para: [EMAIL PROTECTED] Asunto: SV: Localization Hi Welcome to the ugly world of Struts, Commons and Internationalization. I also had this problem, but solved it by re

Re: Localization

2004-10-08 Thread Hubert Rabago
Or, you can use the FormDef Struts plugin, which supports these localization features, including localized dates and numbers. =p On Fri, 8 Oct 2004 14:51:17 -0700, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On Fri, 8 Oct 2004 10:17:17 -0500, David Suarez > <[EMAIL PROTECTED]> wrote: > > Hello

Re: Localization

2004-10-08 Thread Craig McClanahan
On Fri, 8 Oct 2004 10:17:17 -0500, David Suarez <[EMAIL PROTECTED]> wrote: > Hello, > > I've been through the same recently with dates formatting. Sounds like > we did exactly the same thing, seen on the web where others have also > done the same. Do you remember the reasoning for not handling i

RE: Localization

2004-10-08 Thread David Suarez
Hello, I've been through the same recently with dates formatting. Sounds like we did exactly the same thing, seen on the web where others have also done the same. Do you remember the reasoning for not handling it within struts? I wanted to see if maybe there was a good reason for this that I ma

RE: Localization

2004-10-08 Thread Hiran.Chaudhuri
Hi, Freddy. - Use string properties in your for bean. - If you use the validation framework, check whether that supports different number formats (for dates it does) - parse the number according to the user's locale in your action class and pass that double on to your delegate Hiran --

RE: Localization

2004-10-08 Thread Freddy Villalba A.
Oppss... make that: European = ',' US = '.' -Mensaje original- De: Freddy Villalba A. [mailto:[EMAIL PROTECTED] Enviado el: viernes, 08 de octubre de 2004 13:49 Para: Struts Users Mailing List Asunto: Localization Hi, I'm having troubles getting a Double property correctly processed b

RE: Localization within Tiles

2004-08-09 Thread Avinash Gangadharan
You can do something like this : In your tiled definition : --snip-- --snip-- In your jsp: Do something like So in the ... a value corresponding to the value of messageText which is message.text will be fetched in the resources and will be replaced. So in short in the tiles defin