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

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

The order is wrong (reversed) - providers with a higher service ranking need to 
come first in the list, so that they are asked first.
                
> 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