Custom Fields
Re-Envisioned
Support MB Custom Table Language translations

  • Creator
    Topic
  • #9133
    Resolved david.h
    Participant

    Hi Anh,

    I read your post on Multilingual plugins (https://metabox.io/best-wordpress-multilingual-plugins-reviews) with interest as it is something that I have been considering for a while.

    Too often it seems that WordPress developers turn to complex or bloated plugins to provide functionality that can be better achieved using a multi-purpose framework or toolkit.

    It would seem to me that the Metabox framework can do language translations without any additional plugins. Here are my basic thoughts on how it could be achieved:

    1) Create TAXONOMIES for all supported LANGUAGES (approximately 100+)
    2) Create the BASE post and assign the post’s LANGUAGE to the relevant language TAXONOMY
    3) Create TRANSLATED post(s) and relate them to the BASE post using MB Relationships
    4) Create a URL structure like example.com/LANGUAGE/BASE or example.com/LANGUAGE/TRANSLATED

    The flexible, extensible nature of Metabox could enable separate tables per LANGUAGE using MB Custom Table which (if properly indexed) would drastically speed free-text searching per LANGUAGE.

    Clearly the above is highly simplified, but conceptually could be integrated anywhere (BBPress, REST, etc) using a variant of the method outlined in https://metabox.io/support/topic/custom-forum-posts

    What are your thoughts?

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

    Hi David,

    I was thinking about the same thing :).

    The job of connecting original and translated posts is not hard and Meta Box can do that easily. I guess all plugins such as WPML, Polylang already do that well.

    The hardest part comes from connecting other things such as featured image, menu, widget.

    But if you passionate about this idea, let’s create a repo on Github and create an MVP.

    #9190
    david.h
    Participant

    Hi Anh,

    I am certainly interested in pursing this with you.

    However, my full stack development experience (15+ years) comes from .NET/MsSQL so I’m still relatively new to open source platforms and PHP/MySQL.

    Do you want to create the repo under github.com/wpmetabox?

    As an aside, is there a way to filter forum threads? I cannot find a “My Posts” link to quickly find all threads I have started.

    Thanks,
    David

    #9196
    Anh Tran
    Keymaster

    Yes, Github is a great place for collaboration. I’ve just created the repo at:

    https://github.com/wpmetabox/mb-multilingual

    And to find your posts, click on your avatar or nick name (on the left of any reply), you’ll be taken to forum profile page, where you can see all your topics and replies.

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