Uploaded image for project: 'Hibernate Validator'
  1. HV-1436

Explore message interpolator receiving multiple locales

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.1
    • Component/s: None
    • Labels:
      None
    • Last commented by a user?:
      true

      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:

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gunnar.morling Gunnar Morling
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: