[ 
https://issues.apache.org/jira/browse/SLING-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444857#comment-13444857
 ] 

Alexander Klimetschek commented on SLING-2576:
----------------------------------------------

It works now. Although I would really prefer simpler code (map/array handling 
in a generic utility and no reverse index-based iteration in multiple places).
                
> I18n: Allow multiple ResourceBundleProviders, use the first one responding 
> for a given locale
> ---------------------------------------------------------------------------------------------
>
>                 Key: SLING-2576
>                 URL: https://issues.apache.org/jira/browse/SLING-2576
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: i18n 2.2.2
>            Reporter: Alexander Klimetschek
>            Assignee: Carsten Ziegeler
>         Attachments: SLING-2576.patch
>
>
> As discussed on the list: http://markmail.org/message/7dsrqaxw6dkkshwx it is 
> currently not possible to provide custom resource bundles as there is only 
> one (JCR) ResourceBundleProvider.
> It would be good to allow multiple and go through them until the first one 
> returns a non-null value, asking the ones with a higher service ranking first.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to