You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Roy Teeuwen (Jira)" <ji...@apache.org> on 2022/11/29 08:17:00 UTC

[jira] [Created] (SLING-11706) Enable provider for the basename for I18nRuntimeExtension

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)