icu4j-spring-vaadin - Vaadin Add-on Directory
Vaadin Add-on that gives you easy integration of ICU4J into the Spring/Vaadin environmentDo you like ICU4J, Vaadin and Spring?
Here comes the Add-on that will allow you to connect all three elements right together!
This Add-on provides you with Spring MessageSource compatible wrapper of ICU4J MessageFormat that uses VaadinSession to obtain the Locale from current session.
# Use ICU4J to boost the UX by speaking to the user more humanly
// smart plural
plural={0} {0, plural, one{car}other{cars}}
// really smart plural
plural={0} {0, plural, one{auto}few{auta}
many{aut}other{aut}}
// named parameters
names={username}, you have {unread}
unread messages of {total}
// spell out numbers
spellout={0, spellout} dollars
And much more... See the ICU4J syntax options link.