it is something like: wicket:message="title:translationkey,alt:altTranslationKey"
On Sat, Aug 6, 2011 at 3:47 AM, heikki <tropic...@gmail.com> wrote: > Hello, > > I'm trying to make my site available in several languages, and mostly things > work fine. But I'm wondering how to apply translations to more than one > attribute in an element. > > For example: > > <input wicket:id="some-id" > type="image" > src="images/my-image.png" > name="image" > alt="the alt text to be translated" > title="the title text to be translated" > wicket:message="title:translationkey"/> > > this works fine to have the 'title' attribute properly translated. But I > want the 'alt' attribute also properly translated; I can't put in a second > 'wicket:message' attribute for that, because it causes a runtime exception > complaining that the same attribute appears twice. > > How can I have i18n translations for more than one attribute in the same > element? > > thanks in advance for your help, > kind regards > Heikki Doeleman > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/i18n-for-more-than-attribute-tp3722544p3722544.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org