WordPress.org

Ready to get started?Download WordPress

Forums

PostTypeBuilder
i18n with posttypebuilder (3 posts)

  1. Per Wiklander
    Member
    Posted 2 years ago #

    If all settings are done with annotations on the post type class, then how do I translate a field name (or the name of the post type itself) ?

    How about doing an automatic __( $field_name, $post_type_name ) when the post type is actually registered in wp? That should not give any problems for people who don’t translate anything since they will get the expected $field_name string from the annotation.

    http://wordpress.org/extend/plugins/posttypebuilder/

  2. Koff
    Member
    Posted 1 year ago #

    Hi,
    Did you get a solution for that?

  3. Per Wiklander
    Member
    Posted 1 year ago #

    I didn't have to do any more translated sites, so I forgot about it. I think the best thing to do is to file an issue here: https://github.com/bornemix/PostTypeBuilder/issues

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic