Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.4
-
Fix Version/s: 1.5 M1
-
Component/s: Localization, {Unused} Core
-
Labels:None
-
Tests:Unit
-
Similar issues:
Description
Improve the automatic language selection from the Accept-Language header:
- don't parse the Accept-Language header, but use the ServletRequest#getLocales() method that does that
- take into consideration preference quantifier
- ignore invalid values
- ability to restrict to one of the configured languages only