On 6/6/12 3:27 PM, Bill Burke wrote:
On 6/6/12 3:19 PM, David M. Lloyd wrote:
> Up to you, but you get to be the one to tell the translation team
I'll just forward those emails onto you.
> why
> they have to key all their messages off of an integer ID instead of a
> descriptive name. And you also get to reinvent the tooling which
> provides them with the English translation to work from.
You mean all this crap isn't built on top of simple property files? (At
least thats what I saw in the jboss-logging-processor testsuite)
> Doesn't sound
> like a good use of time to me.
>
I agree. Which is why this is at the very bottom of my queue now
because you guys had to over-engineer this.
Looks like you can do this?
@MessageBundle(projectCode = "Resteasy")
public interface ValidMessages {
final ValidMessages MESSAGES = Messages.getBundle(ValidMessages.class);
@Message("...")
String myMessage(...);
}
Will that be enough to ease the translation team?
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com