[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
Sat Feb 12 17:13:13 EST 2011
[ https://issues.jboss.org/browse/SEAMINTL-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581889#comment-12581889 ]
Leiv Hellebo commented on SEAMINTL-26:
--------------------------------------
or maybe not, the FacesLocaleResolver of the faces module already does 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