New Landing How can we help? Atelier Just one translation

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Atelier
  • #268091
    kairoscommunication
    Member
    Post count: 7

    Hello,
    I need a really simple thing, but I can translate with PoEdit or inside the code.
    I have to translate VIEW ALL PRODUCTS to VISUALIZZA TUTTI I PRODOTTI, where can I work it? Thanks so much and sorry for my poor english!

    Attachments:
    You must be logged in to view attached files.
    #268287
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme..

    function sf_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'VIEW ALL PRODUCTS' :
    			$translated_text = __( 'VISUALIZZA TUTTI I PRODOTTI', $domain );
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'sf_text_strings', 20, 3 );

    Thanks
    Mohammad

    #268693
    kairoscommunication
    Member
    Post count: 7

    Hello,
    I added the code you sent me, but it don’t display the website antmore o.o I attach here a screenshot that displayed it. How can I do? Thank you!

    Attachments:
    You must be logged in to view attached files.
    #268768
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please deactivate the WordPress minify plugin.
    Thanks
    Mohammad

    #269270
    kairoscommunication
    Member
    Post count: 7

    Hello,
    I don’t have any WordPress minify plugin on this one.

    #269280
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have managed to resolve the issue so please check it now.
    Thanks
    Mohammad

    #269403
    kairoscommunication
    Member
    Post count: 7

    Thank you soooooo much!! :)))))))))

    #269419
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Glad to help you.
    Thanks
    Mohammad

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register