Home Forums Plugin Support WP User Frontend Pro Post Translations with WPML

This topic is: not resolved

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 6 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2306

    bazelski
    Participant
    Post count: 28

    Hi Tareq.

    Im publishing  2 posts with one wpfu form 1. original post  and 2.  english translation of the same post, both connected through WPML.  I need only the  post title changed in the english translation so I have custom field from where I get the value for the translated post title.

    WPML is set to copy taxonomies and custom fields from original to the translation, which is working great in the dashboard…when original is updated the translation taxonomies and field values are updated too.  Inserting with WPFU form also works but it takes the taxonomies and field values from the original post before it is saved. I think the actions are fired before the data is saved with the forms.

    I tried changing the priority to higher number but didnt help.  Can you help with this code? Thanks

    http://pastebin.com/vyjkQKb0

     

    #2310

    Tareq Hasan
    Keymaster
    Post count: 2831

    Frankly, I don't have any experience with WPML. And that function should be working, because after creating/updating the post, inserting/updating the meta and taxonomy, the hook runs.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Post Translations with WPML’ is closed to new replies.