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 that are to use the
Hi Bob,
i would do it like that:
welcomeMessage=Welcome to {0} - Additional information about {1} is available.
then in jsp
s:property value=welcomeMessage/
and in action
public String getWelcomeMessage() {
return getText(welcomeMessage, varFromDatabase1, varFromDatabase2);
}
I asume that
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
3 matches
Mail list logo