Custom Fields
Re-Envisioned
Support General Custom (Translated) default labels

  • Creator
    Topic
  • #31518
    Cédric
    Participant

    Hi,

    When creating a custom Post Type, or taxonomy, Meta Box auto-fills the labels which is great.
    But is there a way to customize the default texts used for populating labels ? Maybe a .po file somewhere ?

    I need to manually translate the auto generated labels for each new post type, taxonomy, etc, and being able to define these defaults would save a lot of time.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #31526
    Long Nguyen
    Moderator

    Hi,

    I think you can use the translation language plugin to translate the plugin's strings. Meta Box and extensions support getting text to translate as well (using internationalization function)

    #31528
    Cédric
    Participant

    Hi Long,

    Thanks for answering. I tried using Loco translate but it can't find any string to translate on the AIO plugin. Only core plugin has a .po file.

    It looks like the texts for defining labels is hard coded in the function in this file : wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/assets/post-type.js

    But if I edit it, it will be overwritten with each MN AIO plugin update.

    #31542
    Long Nguyen
    Moderator

    Hi,

    The plugin Loco Translate can scan translatable strings of all extensions under Meta Box AIO as well. Screenshot https://i.imgur.com/kl9gm7r.png

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