Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1289323
    contegi66
    Participant

    Dear Support,

    I didn’t find anything related in KB.

    Even after using poedit and replacing .po & .mo files [/wp-content/languages/plugins/woocommerce-it_IT.po] the titles in subject (see screenshot) are not translated.

    any clue?

    G

    #1289512
    Lely
    Moderator

    Hello G,

    Please check this article:https://community.theme.co/kb/translation/ and follow the correct steps.
    An alternative is adding the following code on your child theme’s functions.php file:

    add_filter('gettext', 'translate_text' );
    function translate_text($translated) { 
      $translated = str_ireplace('Related Products', "Related Products TRANSLATION", $translated);
      $translated = str_ireplace('You may also like…', "You may also like… TRANSLATION", $translated);
      
      return $translated; 
    }

    Change the translation text.

    Hope this helps.

    #1289714
    contegi66
    Participant

    Thank you very much ! It works like a charm 🙂

    have a nice day

    #1289747
    Thai
    Moderator

    You’re most welcome 🙂

  • <script> jQuery(function($){ $("#no-reply-1289323 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>