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

Ken Finnigan (JIRA) jira-events at lists.jboss.org
Fri Feb 18 10:35:17 EST 2011


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

Ken Finnigan commented on SEAMINTL-26:
--------------------------------------

This would not be able to be added directly to the module, as it would force a JSF dependency.

I see there being two options:

1) Add the feature to Faces module
2) Add a separate module to International that can have the JSF dependency, but the artifact would need to be specifically declared by a developer

> 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