You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2011/08/11 20:34:27 UTC

[jira] [Closed] (TAP5-1468) incorrect support for list of prefered locales

     [ https://issues.apache.org/jira/browse/TAP5-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1468.
--------------------------------------

    Resolution: Invalid

I believe you are incorrect;  If the browser preferred language is "fr,de" and "de" is defined as a supported language (tapestry.supported-locales), then Tapestry will select that.  This is documented and tested behavior.

Please reopen with a test case if you believe there to be a bug.  Most likely, you are not configuring tapestry.supported-locales correctly.

> incorrect support for list of prefered locales
> ----------------------------------------------
>
>                 Key: TAP5-1468
>                 URL: https://issues.apache.org/jira/browse/TAP5-1468
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core, tapestry-test
>    Affects Versions: 5.2.4
>            Reporter: piotrek
>
> when browser's preferred languages are e.g. "fr", "de" (in this order) and application supported locales are "de" and default then tapestry choose the default locale. but according to http specification (http://tools.ietf.org/html/rfc2616#section-14.4) it should choose "de".
> also class org.apache.tapestry5.test.PageTester has only metod setPreferedLanguage(Locale preferedLanguage)  while there should be a method that takes a list of locales as a parameter

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