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 applications with Spring

We will take a look at a simple example where we demonstrate how to perform internationalization (or also called localization) in the Vaadin application using Spring.

The application will be localized in two languages, English and Finnish. We will display Name in two languages. The second one is going to be the Finnish language, where the name can be translated as Nimi.

A user (developer or tester) has to change the language setting in the browser in order to see the localization properly.

In the following screenshot, we have changed the browser language to English in the browser setup window. When we refresh the page, the localized name appears on the screen.

Then we have changed the language to ...

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