sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-8200) Add API to get a composite resource bundle provider
Date Mon, 07 Jan 2019 07:31:00 GMT

     [ https://issues.apache.org/jira/browse/SLING-8200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konrad Windszus updated SLING-8200:
-----------------------------------
    Summary: Add API to get a composite resource bundle provider  (was: Allow to easily get
a composite resource bundle provider which goes through all other providers)

> Add API to get a composite resource bundle provider
> ---------------------------------------------------
>
>                 Key: SLING-8200
>                 URL: https://issues.apache.org/jira/browse/SLING-8200
>             Project: Sling
>          Issue Type: Improvement
>          Components: i18n
>    Affects Versions: i18n 2.5.14
>            Reporter: Konrad Windszus
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message