Spring Roo
  1. Spring Roo
  2. ROO-1145

Improve addon creation command for providing internationalization addons

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M3
    • Component/s: @ CORE
    • Labels:
      None

      Description

      The 'addon create i18n' command currently need a rather verbose command to be executed.

      The flagFile attribute and the language attribute both can be made optional (Roo can automatically download and install the flag file and it can determine the language label from the provided locale compared against the ISO 3166 standard).

        Issue Links

          Activity

          Hide
          Stefan Schmidt added a comment -

          Completed with commit 2af76ad8cdea2c3144012b88e5aac7236ed360af.

          The addon creation command is now as simple as:

          addon create i18n --topLevelPackage com.foo.ru --locale ru --messageBundle <path-to>/messages_ru.properties
          

          The language and flagIcon attributes are now optional (Roo will fetch these things automatically).

          Show
          Stefan Schmidt added a comment - Completed with commit 2af76ad8cdea2c3144012b88e5aac7236ed360af. The addon creation command is now as simple as: addon create i18n --topLevelPackage com.foo.ru --locale ru --messageBundle <path-to>/messages_ru.properties The language and flagIcon attributes are now optional (Roo will fetch these things automatically).

            People

            • Assignee:
              Stefan Schmidt
              Reporter:
              Stefan Schmidt
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: