Custom Fields
Re-Envisioned
Support MB Relationships Relationship translations

  • Creator
    Topic
  • #17972
    COMCEPT
    Participant

    Hello, whenever we create a translation for a post, we lose the content from the original relationships (i.e. all the select fields are blank and we must choose the right values again). How can we make it so that we automatically pre-populate those select boxes with the corresponding translated value?

    Thanks,
    Nick

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #17988
    Anh Tran
    Keymaster

    Hi Nick,

    Which translation plugin do you use?

    #17999
    COMCEPT
    Participant

    Hi Anh,

    We’re using Polylang Pro

    #18010
    Anh Tran
    Keymaster

    Hi Nick,

    Thanks for your reply. I’ll take a note on this. Currently, the plugin doesn’t copy values to the translations. It only add connections between items if they’re chosen.

    I think you can hook to the plugin to add your own connections between connected items. I’ll add more hooks to let you do that. What do you think?

    #18014
    COMCEPT
    Participant

    Thanks Anh,

    That’d be great! We’d be able to grab the non-translated term/post, get the translation via polylang, and then create a new relationship with the new IDs so we’d be able (in theory) to automatically see it selected as the correct option in the relationship select.

    If that’s possible, it’s a very welcomed improvement! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
grid gear info copy caret-up caret-down trash