- 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.
- 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
- Can you make a small sample project that demonstrates the issue?