* Document.txt --> Document_fr.txt ** * The necessary translation structures will be created as necessary. * * @param translationOfNodeRef An existing cm:mlDocument * @param name The name of the file to create, or null to use * the default naming convention. * @return Returns the new created cm:mlEmptyTranslation */ @Auditable(key = Auditable.Key.ARG_0, parameters = {"translationOfNodeRef", "name", "locale"}) NodeRef addEmptyTranslation(NodeRef translationOfNodeRef, String name, Locale locale); /** * Copies the given cm:mlContainer. *
* This involves the copy of the cm:mlContainer node and the copy of its cm:mlDocument. *
* * @param translationNodeRef The cm:mlContainer to copy * @param newParentRef The new parent of the copied cm:mlDocument * @return The copied cm:mlContainer */ @Auditable(key = Auditable.Key.ARG_0, parameters = {"translationNodeRef", "newParentRef"}) NodeRef copyTranslationContainer(NodeRef translationNodeRef, NodeRef newParentRef); /** * Moves the location of the given cm:mlContainer. *
* This not involves changing the cm:mlContainer node but moves its cm:mlDocument. *
* * @param translationNodeRef The cm:mlContainer to move * @param newParentRef The new parent of the moved cm:mlDocument */ @Auditable(key = Auditable.Key.ARG_0, parameters = {"translationNodeRef", "newParentRef"}) void moveTranslationContainer(NodeRef translationNodeRef, NodeRef newParentRef); }