O'Reilly logo

Vaadin 7 Cookbook by Ondrej Kvasnovsky, Jaroslav Holan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Internationalizing Vaadin in Grails

We have set up a new Grails project with Vaadin in Chapter 1, Creating a Project in Vaadin. Now let's have a look at how to perform localization.

We will see how to use the i18n method, which is provided by the Vaadin plugin. In order to do that, we will create a simple application, showing a few texts that will be localized. The first screen on the left-hand side in the following screenshot is localized in the Swedish language. The second one, on the right-hand side, is localized in the English language.

Internationalizing Vaadin in Grails

Getting ready

Make sure you have a project using the latest stable version of Grails and Vaadin.

Use grails list-plugin-updates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required