|
Hello, this is what I've done to make translation actions visible in CPS 3.4:
1.- Go to portal_workflow 2.- For every workflow in [workspace_content_wf, workspace_folder_wf, section_content_wf y section_folder_wf] 3.- Create a new transition with id translate or if it's already created complete this properties:
Transition type: Initiated by user action Script (before): add_language_to_proxy Permissions: Modify portal content Name (formatted): action_translate URL (formatted): %(content_url)s/content_translate_form Category: workflow All fields left, empty or unchecked.
4.- Create a new transition with id delete_translation or if it's already created complete this properties:
Transition type: Initiated by user action Script (before): delete_language_from_proxy _expression_: python:not state_change.object.isDefaultLanguage() Name (formatted): action_delete_translation URL (formatted): %(content_url)s/content_delete_translation Category: workflow All fields left, empty or unchecked.
5.- Now, go to the portal and check the new action ;-)
Eric, you asked me to post it to CPS Project, but I don't know where.
Regards
JoseLuis de la Rosa
Triviño
Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE. This e-mail and any attachments are confidential and exclusively directed to its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.
-----Mensaje original-----
Hi,
On 24 avr. 06, at 14:08, JoseLuis de la Rosa Triviño wrote:
Translation is going to change to become more flexible and easier to understand.
I have filled those attributes like they are in CPS 3.3.8 and translation works fine in CPS 3.4 This feature is not enabled by default but still available. :-) Maybe you can post a quick howto on CPS project ?
Thanks,
EB.
-- Éric Barroca - Tel: +33 6 21 74 77 64 (mobile). Nuxeo - Open Source ECM - www.nuxeo.com CPS Platform - The open source ECM Platform
|
_______________________________________________ cps-users mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/cps-users
