Re: S2 - Need advice with Localization

2008-09-18 Thread Laurie Harper
bob fuller wrote: I am trying to Localize a dynamic message and would like some advice as to how I should go about it. My main goal is to keep the message itself as 'intact' as possible in my package.properties, doing this will (hopefully) speed up translation by an interpreter. Goals after t

Re: S2 - Need advice with Localization

2008-09-18 Thread Paweł Wielgus
Hi Bob, i would do it like that: welcomeMessage=Welcome to {0} - Additional information about {1} is available. then in jsp and in action public String getWelcomeMessage() { return getText("welcomeMessage", varFromDatabase1, varFromDatabase2); } I asume that name and second parameter are cons