WMPL translate MB Blocks

Support MB Blocks WMPL translate MB BlocksResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #41702
    Christian KleeChristian Klee
    Participant

    I created multiple MB Blocks with PHP. Most of them use the sidebar for the content. But I dont find a way to translate these values in WPML using the automatically translation. Only some MB Blocks with InnerBlocks are translated but none of my custom MB Blocks.

    How can I translate the values of the right Blocks sidebar?

    #41710
    info@rootscope.co[email protected]
    Participant

    I'm dealing with the same issue. Right now I'm considering implementation of translation support
    https://wpml.org/documentation/support/language-configuration-files/#gutenberg-blocks

    any advice from MetaBox team would be appreciated šŸ˜‰

    #41714
    info@rootscope.co[email protected]
    Participant

    OK, never mind. I've created little plugin that seems to do the trick. Just add "translate" => true to the mb fields that should be included in translations

    here's plugin https://pastebin.com/bFuu5tUk

    #41717
    PeterPeter
    Moderator

    Hello,

    MB Blocks is a premium plugin so it is not compatible with WPML currently. And thanks to @inforootscope-co to share a solution, keep up the good work.

    #42930
    Anthony TilkeAnthony Tilke
    Participant

    I’d like to see this extended with Meta Box as I just saw WPML did for ACF. https://www.advancedcustomfields.com/blog/acfml-translating-acf-blocks/

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.