Vlad Bailescu created SLING-4562:
------------------------------------

             Summary: Sightly: Allow passing of custom options to the I18n 
extension
                 Key: SLING-4562
                 URL: https://issues.apache.org/jira/browse/SLING-4562
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
    Affects Versions: Scripting Sightly Engine 1.0.0
            Reporter: Vlad Bailescu
            Priority: Minor
             Fix For: Scripting Sightly JS Use Provider 1.0.2


The current [Sightly 
specification|https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/master/SPECIFICATION.md#123-i18n]
 only lists {{locale}} and {{hint}} as possible options for the I18n extensions 
and these are passed as parameters to the {{call(..)}} method. However, the 
[initial Sightly 
docs|http://docs.adobe.com/docs/en/aem/6-0/develop/sightly.html#Internationalization]
 are referencing another option ({{source}}) that Adobe is using in AEM.

We should pass a map containing option names and values to the extension 
{{call(..)}}, like we do in the resource inclusion extension, so that vendors 
such as Adobe can use custom options when extending this functionality.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to