Announcement Announcement Module
No announcement yet.
Roo JSF string translation Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #2
    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)


    • #3
      Ok, here is the JIRA:

      Thank you!