[
https://issues.apache.org/jira/browse/SLING-8206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809870#comment-16809870
]
Rakesh Kumar commented on SLING-8206:
-------------------------------------
Hi [~Hernandez] did you find any solution for this?
> Add Support for sling:basename when using JSON based dictionaries
> -----------------------------------------------------------------
>
> Key: SLING-8206
> URL: https://issues.apache.org/jira/browse/SLING-8206
> Project: Sling
> Issue Type: Bug
> Reporter: Daniel Hernandez
> Priority: Major
>
> The property sling:basename cannot be used when using a JSON based dictionary
> as explained here:
> [https://sling.apache.org/documentation/bundles/internationalization-support-i18n.html#json-file-based]
> Unless there is another way of structuring the JSON dictionary node structure
> to use nt:unstructured instead of nt:file, the property is not allowed.
> My suggestion is to add sling:basename to the definition of the mix:language
> mixin:
> https://github.com/apache/sling-org-apache-sling-i18n/blob/master/src/main/resources/SLING-INF/nodetypes/jcrlanguage.cnd
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)