Jan 16th, 2012, 06:08 AM
Roo JSF string translation
Hi, since roo 1.2 jsf support was added I started to use this feature for a new project, but I can't figure out a way to translate/change the strings used in CRUD screens. Apparently the strings are hardcoded in populateCreatePanel() method in *Roo_ManagedBean.aj but if I change the text there, this file is ovewriten next time I open roo shell.
Anyone knows how I can change that strings in translation file like in roo jsp version?
Thanks in advance!
Jan 16th, 2012, 02:56 PM
All ITDs are managed by Roo, so the only way at present is to push-in the method to the .java class and then change the strings. However you will lose the automatic update if other fields are added or removed. You can raise an improvement request for the field labels to be externalised into a message bundle (a properties file)
Jan 17th, 2012, 07:23 AM