> Translator translator = new Translator( Locale.GERMAN ); > Hotel translatedHotel = translator.translate( hotel ); > translatedHotel.getDescription(); // return description in german > translatedHotel.setDescription( "die Beschreibung" ); // persist german > description
I think it would be very cool to extend that API to have a better wicket integration. It would be very cool if we can do the following: <code> BoundCompoundPropertyModel model = new TranslatableBoundCompoundPropertyModel( hotel ); TextField descriptionField = ...; model.bind( descriptionField, "description" ); </code> Regards, Edward Yakop --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
