Hi all,
I'm trying to find out what is the best way to create a language copy of a page in a programmatic way. After some research I found a couple of things:
- The /bin/wcmcommand servlet is used to language copy within the interface. However I trying to find out which API is used internally? Just like the wcmcommand for creating pages, uses the PageManager, I'm trying to find the LanguageCopy equivalent (but I'm afraid it doesn't exist...)
- Nowadays there is a workflow called 'WCM Create Language Copy', however it doesn't seem to be used when you create a new language copy within the (Classic) interface...
- The LanguageCopyCommand seems to be gone since CQ5.1 (http://docs.adobe.com/docs/v5_1/cq-wcm-javadoc/com/day/cq/wcm/core/impl/commands/LanguageCopyCommand...), so that isn't an option anymore
Somebody who has an idea what the easiest way is for creating a language copies within a service/component ?
Thanks in advance!
Best regards,
Ruben