Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8200

Add API to get a composite resource bundle provider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • i18n 2.5.14
    • None
    • i18n
    • None

    Description

      Currently it requires a lot of code to get the relevant resource bundle provider for a specific key if you don't have the SlingHttpServletRequest at hand. There should be a simple way of getting a composite resource bundle provider which has the same logic as https://github.com/apache/sling-org-apache-sling-i18n/blob/4ffa8baeabea6f03e03d382c224572789a84c4f8/src/main/java/org/apache/sling/i18n/impl/I18NFilter.java#L192.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: