Roo supports internationalization of the complete UI by using resource bundles for labels and messages. In this recipe, we will look at the
language command of Roo and see how it simplifies internationalizing the Roo-generated web user interface.
Delete the contents of
ch04-recipe sub-directory inside the
ch04_web-app.roo script into the
ch04_web-app.roo script that creates the
flight-app Roo project, sets up Hibernate as the persistence provider, configures MySQL as the database for the application, creates the
FlightDescription JPA entities and defines a many-to-one relationship between the
FlightDescription entities. If you are using a different database than MySQL or your connection settings are different than what is specified in the script, then modify the script accordingly.
Start the Roo shell from the