You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Alexander Klimetschek (JIRA)" <ji...@apache.org> on 2012/08/23 17:57:41 UTC

[jira] [Updated] (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:all-tabpanel ]

Alexander Klimetschek updated SLING-2576:
-----------------------------------------

    Attachment: SLING-2576.patch

Patch that implements this in the I18nFilter. Depends on the patch in SLING-2575 for managing the list of services.
                
> 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
>         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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira