Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Internationalization / overriding Vaadin messages

Jerry Goncalves
1 decade ago Mar 18, 2010 12:36pm
Risto Yrjänä
1 decade ago Mar 18, 2010 12:47pm
Jean-François Lamy
1 decade ago Mar 19, 2010 12:36pm

Here is one way to do it. Follow the link to get a Zip. The classes read the messages according to the current locale from a ResourceBundle which is built from .properties files. Something like this should be standard, overriding classes to internationalize is just so brutal.

Localized System Messages

Note: I wrote this very early in my Vaadin learning curve. Perhaps others have come up with neater solutions (Kim? Dmitri?) -- I just haven't had the opportunity to look at what they've done.

EDIT: updated link to point to new Zip with Apache License.

Last updated on Mar, 19th 2010
Jean-François Lamy
1 decade ago Mar 19, 2010 12:44pm

Just noticed that the license on these files is not what it should be; I will fix the zip with an Apache license when I get a minute. If you need the files right away, assume that its Apache licensed.

EDIT: done. the files are now under the Apache License.

Last updated on Mar, 19th 2010
Ville Mattila
1 decade ago Aug 05, 2010 7:23am
Dmitry Katsubo
1 decade ago Oct 21, 2010 10:52am
Jean-François Lamy
1 decade ago Oct 21, 2010 10:19pm
Timo Hartikainen
1 decade ago Mar 03, 2011 1:42pm
Ann K
1 decade ago Jun 13, 2011 9:19am
Henri Sara
1 decade ago Jun 16, 2011 12:30pm