0

Just wondering if I can create a this rule:

1) check if a node (when viewed) has the translations for all enabled languages.

2) If the it doesn't, then create the translation (for all enabled languages)

1 Answer 1

1

Out of the box: no.

If you are willing to code, check the rules API. It lets you add your own conditions and actions.

If you don't need any of the rules functionality you can of course just implement hook_node_view.

2
  • thanks, I'll try with hooK_node_view. Which function should I use to create a node translation?
    – chefnelone
    Commented Aug 15, 2012 at 10:04
  • I will create a new question to accomplish with this.
    – chefnelone
    Commented Aug 15, 2012 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.