Unable to translate CPT

Support General Unable to translate CPTResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35700
    MarcoMarco
    Participant

    Hi!
    I'm using WPML and I cannot see the CPT in string translations

    From WPML ask me to contact you to know if MB "add their post type into a gettext wrap in the generated code"

    Here you can see all the explanation: https://wpml.org/forums/topic/translate-admin-text-forcpts/

    #35712
    Long NguyenLong Nguyen
    Moderator

    Hi Marco,

    If you are using the builder to create the post type (via UI), please generate the PHP code and add it to the file functions.php in your theme/child theme folder to translate the CPT strings.

    The builder saves the CPT settings (including strings) in the database as a post so WPML might not translate strings from post data.

    Read more on this documentation https://docs.metabox.io/extensions/mb-custom-post-type/#getting-php-code

    #35715
    MarcoMarco
    Participant

    Perefect!

    Thank You.

    I supouse that there is no way to add that automatically in the code...

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