Problems translating CPT Names with WPML String Translation

This topic contains 17 replies, has 4 voices, and was last updated by  jotomas 4 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #531528

    jotomas
    Buyer
    Post count: 802

    Hello,

    I am unable to translate the name of one of my GD CPTs (Activitats) using WPML String Translation. Although I scanned several times GD and GD Custom Posts addon plugins for strings, the name of this CPT is never found.

    Am I missing some setting?

    I look forward to your reply.

    Thank you very much once again for your help.

    Best regards.

    #531576

    Alex Rollin
    Moderator
    Post count: 27815
    #531582

    Guust
    Moderator
    Post count: 29970

    WPML > Settings > Multilingual Content Setup > Scroll to “Post Types Translation” > Make sure there that it is translatable.

    Thanks

    #531594

    jotomas
    Buyer
    Post count: 802

    Hi Alex, hi Guust,

    Thank you very much for your replies.

    Alex, I believe that the link that you provide is about GD V1 and old WPML versions. I can not find the WPML settings in the link in the current version. Instead, there are “Localization options” (screenshot attached).

    Guust, I have set this GD CPT as translatable exactly like all other GD CPTs (screenshot attached).

    I can not understand why WPML String Translation finds the strings in GD and GD Custom Posts of the other CPTs but not of this one.

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #531679

    Guust
    Moderator
    Post count: 29970

    Can we please have WPadmin details in a private reply.
    Thanks

    #531693

    jotomas
    Buyer
    Post count: 802
    This reply has been marked as private.
    #531694

    Guust
    Moderator
    Post count: 29970

    You translate the CPTs at WPML > Settings > Multilingual Content Setup > Scroll to “Post Types Translation” like in your image:

    Is this what you are looking for?
    https://inforoses.com/wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&search=activitats#icl-st-toggle-translations

    What is it exactly what you are trying to translate?

    #531699

    jotomas
    Buyer
    Post count: 802

    Hi Guust,

    Thank you very much for your reply.

    No, I do not translate the CPTs names at WPML > Settings > Multilingual Content Setup > Scroll to “Post Types Translation” like in my image. I have attached the image to show that the specific CPT “Activitats” has been set as translatable and that its slugs have been translated from there.

    I have translated the other CPT names from their corresponding page of the link that you enclose https://inforoses.com/wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&search=activitats#icl-st-toggle-translations

    I noticed that, to get the CPT translated names show in the GD Search Box or in the WP Appearance – Menus – GD Endpoints CPT Archives options, the CPT name to be translated should appear in the WPML list of strings under the geodirectory domain, and in the case of CPT “Activitats” is the only in which it does not.

    These are the links to other CPTs names strings translations:

    https://inforoses.com/wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&search=Menjar+i+beure&search_translation=1

    https://inforoses.com/wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&search=Serveis&search_translation=1

    https://inforoses.com/wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&search=Esdeveniments&search_translation=1

    https://inforoses.com/wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&search=Shopping&search_translation=1

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #531914

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #533700

    jotomas
    Buyer
    Post count: 802
    This reply has been marked as private.
    #533728

    Kiran
    Moderator
    Post count: 7069

    Hi jotomas,

    Can you provide a url & a screenshot that shows that text?

    What is the correct string for “Activitats” in language:
    CA :
    SQ :
    EN :
    FR :
    ES :

    Kiran

    #533978

    jotomas
    Buyer
    Post count: 802

    Hi Kiran,

    Thank you very much for your reply.

    The correct strings for “Activitats” in translated languages are the following:

    CA : Activitats
    SQ : Not used (language configured only to allow changing language of strings)
    EN : Activities
    FR : Activités
    ES : Actividades

    I also enclosed four screenshots:

    a) WPML String Translation page for “Activitats” GD CPT. The string has been found only three times, none under gd, gd addons or userswp domains. All of them have been translated.

    b) WPML String Translation page for “Menjar i Beure” GD CPT. The string has been found seven times. Five corresponding to gd, gd addons and userswp domains.

    c) WP Dashboard – Appearance – Menus – GD Endpoints – CPT Archives in Main Language CA: String “Activitats” in CA is correctly shown, as it does in the GD Search box in the Main Language CA.

    d) WP Dashboard – Appearance – Menus – GD Endpoints – CPT Archives in Translated Language ES: String “Activitats” shows in CA instead its translation in ES “Actividades”. Same thing happens in the GD Search box in the translated language ES.

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #534955

    Kiran
    Moderator
    Post count: 7069

    Hi jotomas,

    I checked with same WPML setup on my test site and it is working as expected there.

    Can you provide FTP credentials to check more there?

    Kiran

    #535385

    jotomas
    Buyer
    Post count: 802
    This reply has been marked as private.
    #535417

    Kiran
    Moderator
    Post count: 7069

    Hi jotomas,

    Please check and let us know.

    Kiran

Viewing 15 posts - 1 through 15 (of 18 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket