Roy Teeuwen created SLING-11706:
-----------------------------------

             Summary: Enable provider for the basename for I18nRuntimeExtension
                 Key: SLING-11706
                 URL: https://issues.apache.org/jira/browse/SLING-11706
             Project: Sling
          Issue Type: Improvement
          Components: HTL
            Reporter: Roy Teeuwen


We are currently using i18n dictionaries with basenames for every site, to be 
able to specifically target a dictionary.

The I18nRuntimeExtension expects the basename to be passed as HTL parameter. 
Seeing as there are community based components that do not have the basename 
property set, this is not easily passed, except by overriding all the HTL files 
and setting the basename property

An option would be to create a BasenameProvider interface that allows the 
system to pass the basename. This could then for example be implemented by 
creating a CaConfig based implementation that sets the basename based on the 
path the resource



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to