Issue with Plural Name When Creating Post Types in Meta Box IO

Support Meta Box AIO Issue with Plural Name When Creating Post Types in Meta Box IO

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #48636
    Infolu OfficialInfolu Official
    Participant

    I’m using the latest version of Meta Box IO and noticed an unexpected behavior when creating custom post types:
    The Plural Name is not displayed correctly — instead, a “%” character appears where the plural label should be.

    It seems there might be an issue with how the labels are being generated or rendered, possibly related to string interpolation.

    It would be great if this behavior could be reviewed, as it affects the clarity and usability of the WordPress admin interface.
    exemple

    Thank you!

    #48642
    PeterPeter
    Moderator

    Hello,

    Can you please share a screenshot of the Plural name when editing the CPT from Meta Box > Post Types > Edit the post type?

    #48644
    Infolu OfficialInfolu Official
    Participant

    Hello,

    Thank you for your response and clarification.

    I understand that it's currently expected behavior for Meta Box AIO to require at least one extension to remain active. However, I’d like to share some feedback:

    I use Meta Box via Composer to have more control over what's loaded in my project. My goal is to use only the native field types, without the additional extensions, ensuring a lighter setup and the flexibility to enable or disable features as needed.

    In this case, it doesn’t make sense to be forced to keep at least one extension active if I only want to use the custom fields. It would be great to have more flexibility and be able to deactivate all extensions without having to disable the entire plugin.

    Thank you for considering this suggestion.

    #48646
    Infolu OfficialInfolu Official
    Participant

    Please disregard my previous comment, I posted it in the wrong thread. Attached is the requested image.

    exemple

    #48648
    PeterPeter
    Moderator

    Hello,

    Ok, now please check the All items label if there are % characters. Please check this screenshot https://postimg.cc/F1PdXd4N

    If there aren't any % characters, do you use a translation plugin and translate the labels?

    #48650
    Infolu OfficialInfolu Official
    Participant

    There is the "%" I am not using any wordpress translation plugin + metabox io only

    exemple

    #48657
    PeterPeter
    Moderator

    Hello,

    The tag %name or %nome% is not supported in the label inputs. Please use the literal string like All CPT name and save changes.

    #48667
    Infolu OfficialInfolu Official
    Participant

    Hi Peter, thanks for the information!
    After reading your comment, I took a closer look and noticed something unusual. Since I hadn't manually configured the label fields, I decided to run a test.

    I discovered that when I create a post type with WordPress set to English, everything works fine — the labels are generated correctly. However, when I switch to another language and create a post type, the system ends up using a % symbol in place of the plural label.

    Note that I only register the fields on the General tab.

    exemple

    Exemple

    #48672
    PeterPeter
    Moderator

    Hello,

    You are correct. The translation of some labels for the pt-BR language is available in the plugin Meta Box AIO. Please remove the folder wp-content/plugins/meta-box-aio/languages/mb-custom-post-type to remove the tag %nome% in the label when creating a new CPT.

    Let me know how it goes.

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