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

Activity

Show:

Details

Assignee

Reporter

Participants

Gunnar Morling

Fix versions

Priority

Created July 13, 2017 at 9:38 AM
Updated December 19, 2018 at 7:33 PM