We're updating the issue view to help you get more done. 

Explore message interpolator receiving multiple locales

Description

We couldn't agree with the JAX-RS 2.1 EG on a way for passing the HTTP request locale to BV for the purposes of message interpolation. The reason being, that the HTTP request header can actually contain multiple locales, each with a given quality. Typically, one would like to obtain messages from the locale with the highest quality value and fall back to another locale only if needed. For this to work, BV and its message interpolator would have to receive all the requested locales in order of their quality. Related discussions:

Environment

None

Status

Assignee

Unassigned

Reporter

Gunnar Morling

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Fix versions

Priority

Major