The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

i18n with posttypebuilder (3 posts)

  1. Per Wiklander
    Posted 4 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.


  2. Koff
    Posted 3 years ago #

    Did you get a solution for that?

  3. Per Wiklander
    Posted 3 years 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

  • PostTypeBuilder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic