Hi,
We are using more i18n values in our project.
Since the node type(jcr:primaryType) is nt:folder and jcr:mixinTypes is "sling:Message" while updating the values (locale wise)in /libs/cq/i18n/translator.html and while replicating using /libs/replication/treeactivation.html (from parent path), its taking much long time to complete replication of all nodes (of type nt:folder) under i18n since there is no lastModified property created (eventhough we check only modified option while replicating)
I tried to add jcr:mixinTypes -- mix:lastModified to the nt:folder type node and when i change the value and save in translator.html, lastModified node is created for first time then if i again change the value and save it lastModified value is not updated.
Can anyone kindly help on how to activate only the changed/modified i18n values?
arunpatidar26, Ratna Kumar, smacdonald2008
Thanks in advance!!
Regards,
Sundari.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Another Approach. You can implement a custom workflow process, which will be utilised by a custom workflow model. The custom workflow process will activate nodes based on your criteria. Once when the custom workflow model is identified, you can navigate to the workflow Touch UI console, http://localhost:4502/libs/cq/workflow/admin/console/content/models.html, and start a workflow, using the translation dictionary as the payload. Make sure you have a strategy in place for invalidating the cache. Also, permissions to allow specific users to use the workflow model can be granted via, the ACL rules.
I hope this helps,
Brian.
Hi @sundarig9086821 ,
You can publish the modified pages alone using manage publication action.
Mange publication has option to publish the page immediately or later(workflow will be schedule for this).
You can check the options required depends on requirement.
Please check the below article which explains in detail.
https://helpx.adobe.com/experience-manager/6-3/sites/authoring/using/publishing-pages.html
Or
You can go for custom implementation if any additional requirement has to be met.
Hi @Vaibhavi_J,
Thanks for you reply !!!
Manage publication is not working for nt:folder type.
Yes i can able to use manage publication for cq:pageContent type.
But in my case, all the i18n labels are stored in folder type.
Views
Replies
Total Likes
Another Approach. You can implement a custom workflow process, which will be utilised by a custom workflow model. The custom workflow process will activate nodes based on your criteria. Once when the custom workflow model is identified, you can navigate to the workflow Touch UI console, http://localhost:4502/libs/cq/workflow/admin/console/content/models.html, and start a workflow, using the translation dictionary as the payload. Make sure you have a strategy in place for invalidating the cache. Also, permissions to allow specific users to use the workflow model can be granted via, the ACL rules.
I hope this helps,
Brian.
Hi @briank,
Thanks for you reply!!!
Creating a workflow and again passing the translation dictionary path as payload, will again result in replication of all nodes which in turn will take more time.
Is there any way to identify only last modified in sling:Message mixin type folders hence while replicating we can choose only modified content to be replicated.
(For ex: my path is /content/project/i18n/en(locale) -- > en has around 3000 child nodes of type nt:folder (translation labels of type sling:Message), and if i am going to /libs/cq/i18n/translator.html and changing a label while saving how to create a lastmodified property for the node hence while replicating only modified nodes can be pushed via tree activation.)
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies