Loalization: Vaadin 13+

  1. There is bug in Vaadin 13 to resolve locale as some browsers just send a fi and some fi_FI so even if available locales contains en_US, fi_FI, …, it is not selected one in order of browser preference.
  1. In Spring container should be used other strategy to resolve and get localized message:

org.springframework.context.MessageSource // bean to get messages
org.springframework.context.i18n.LocaleContextHolder //static method call to get a locale

  1. Can you make a small sample project that demonstrates the issue?