You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2012/08/28 09:03:07 UTC

[jira] [Commented] (SLING-2576) I18n: Allow multiple ResourceBundleProviders, use the first one responding for a given locale

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

Carsten Ziegeler commented on SLING-2576:
-----------------------------------------

I've committed a different version which does not require SLING-2575, please cross-check
                
> 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