You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Daniel (JIRA)" <ji...@apache.org> on 2019/01/08 17:46:00 UTC
[jira] [Created] (SLING-8206) Add Support for sling:basename when
using JSON based dictionaries
Daniel created SLING-8206:
-----------------------------
Summary: 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
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)