[seam-issues] [JBoss JIRA] Commented: (SEAMINTL-26) SEAMINTL should pick up user locale from Accept-Language header

Leiv Hellebo (JIRA) jira-events at lists.jboss.org
Sun Feb 20 01:53:13 EST 2011


    [ https://issues.jboss.org/browse/SEAMINTL-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583466#comment-12583466 ] 

Leiv Hellebo commented on SEAMINTL-26:
--------------------------------------

By the time I made the first comment on this, I had discovered that FacesLocaleResolver of the S3 Faces module already did what I was looking for, so by all means say won't fix to this :)

> SEAMINTL should pick up user locale from Accept-Language header
> ---------------------------------------------------------------
>
>                 Key: SEAMINTL-26
>                 URL: https://issues.jboss.org/browse/SEAMINTL-26
>             Project: Seam International
>          Issue Type: Enhancement
>          Components: Locales
>            Reporter: Leiv Hellebo
>
> This worked in S2 LocaleSelector.getLanguage()
> if (facesContext!=null)
> {
> return facesContext.getApplication().getViewHandler().calculateLocale(facesContext);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list