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

piotrek updated TAP5-1468:
--------------------------

    Description: 
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



  was:
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 accept a list of locales




> 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

        

Reply via email to