I am unsure why you want to translate the key instead of translating the
associated value..
But if your encoding scheme of the source files, destination files and the
bundle files are specified
I would suggest looking at ant's <translate> task at
http://ant.apache.org/manual/OptionalTasks/translate.html
Anyone else?
Martin-
----- Original Message -----
From: "N G" <[EMAIL PROTECTED]>
To: "Struts-user" <user@struts.apache.org>
Sent: Tuesday, July 12, 2005 4:14 PM
Subject: Parameterized messages
Hi,
Is it possible to use the resource properties for keys as well as
args? For example,
<bean:message key="test.val1" arg0="test.val2"/>
Properties:
test.val1=hello {0}
test.val2=world
So, what I am trying to accomplish is to have the above statement output:
hello world
However, it outputs:
hello test.val2
Is there a way to force it to look up the properties again?
Thanks,
NG
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]