Custom (Translated) default labels

Support General Custom (Translated) default labels

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31518
    CédricCé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.

    #31526
    Long NguyenLong 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édricCé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 NguyenLong 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 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.