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.