Support » Plugins » Duplicate gravity form post for WPML multilingual post

  • Hi, I’m using Gravity forms with the Event Calendar Pro to submit events to my site in two languages (English and Hebrew).

    I’m trying to automate the form. I’m saving all the fields from the form for the other language in custom fields.

    I’d like to be able to automatically duplicate the post with all it’s content, or create the WPML translation version of the post and feeding all the information from the custom fields.
    How would I go about to achieving that?
    I’m guessing it will be something like:

    At post submission do:
    duplicate the post with same content.
    change the language
    set the relationship as translation to the other post.
    set all the fields with the language custom fields.

    Would appreciate any help, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you ever find a solution for this? Thanks!

    wow this was a long time ago. 🙂

    the process i ended taking was:
    translating on client side.
    client confirms translation.
    on post it creates a post and puts all the translation fields in custom fields.
    that means there’s only one language to a post.

    this is the wrong way of doing it, it should’ve been creating two separate posts and connecting them. if i had given it another try now i probably would’ve gotten it right, i just didn’t have enough time back then to get it done properly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate gravity form post for WPML multilingual post’ is closed to new replies.