Results 1 to 3 of 3

Thread: Roo JSF string translation

  1. #1
    Join Date
    Jan 2012
    Posts
    5

    Default 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. #2
    Join Date
    Dec 2005
    Posts
    935

    Default

    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)
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3
    Join Date
    Jan 2012
    Posts
    5

    Default

    Ok, here is the JIRA: https://jira.springsource.org/browse/ROO-3026

    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •