Relationship translations

Support MB Relationships Relationship translations

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17972
    COMCEPTCOMCEPT
    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

    #17988
    Anh TranAnh Tran
    Keymaster

    Hi Nick,

    Which translation plugin do you use?

    #17999
    COMCEPTCOMCEPT
    Participant

    Hi Anh,

    We're using Polylang Pro

    #18010
    Anh TranAnh 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
    COMCEPTCOMCEPT
    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 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.