* Igor Vaynberg:
> not from the markup no. we couldnt find any good syntax to specify the key
> and that the value should be internationalized.

In Cocoon we use:

<input type="submit" value="my.i18n.key" i18n:attr="value"/>

The name of the attribute  to internationalize is indicated by the
"i18n:attr" attribute.  The named attribute contains the i18n key.
Note that the i18n:attr  attributes accepts space-separated values
for multiple attributes.

What we could imagine for Wicket:

<input type="submit" value="my.i18n.key" wicket:i18nattr="value"/>

Is it the kind of syntax you were looking for?
     Jean-Baptiste Quenot
aka  John Banana Qwerty

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
Wicket-user mailing list

Reply via email to