This content has been marked as final. Show 1 reply
Following solved for me a similar problem: Sending e-mail using the injected renderer always used the default language of the application.
It seems to me localeSelector should set application locale by default.
@In FacesContext facesContext; @In LocaleSelector localeSelector; .... javax.faces.context.FacesContext f = (javax.faces.context.FacesContext)facesContext; f.getApplication ().setDefaultLocale (localeSelector.getLocale ());