• Hi, I’m using WPML to translate web pages but it seems that nimble plugin is incompatible with. How to translate text added with nimble?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author presscustomizr

    (@nikeo)

    Hello,
    The integration with WPML has not been explored for Nimble Builder yet.
    I would be interested by WPML developer’s feedback on this if you report the problem to them.
    Let me know!

    Thread Starter johnymas

    (@johnymas)

    I also tried to translate through domain and doesn’t work

    function my_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Mednarodna' :
    			$translated_text = __( 'Clearance!', 'nimble-builder' );
    			break;
    		case 'Add to cart' :
    			$translated_text = __( 'Mednarodna Strelska Zveza', 'nimble-builder' );
    			break;
    		case 'Related Products' :
    			$translated_text = __( 'Check out these related products', 'nimble-builder' );
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'my_text_strings', 20, 3 );
    Thread Starter johnymas

    (@johnymas)

    I’ve already posted to wpml

    • This reply was modified 4 years, 10 months ago by johnymas.
    Plugin Author presscustomizr

    (@nikeo)

    ??

    Thread Starter johnymas

    (@johnymas)

    Hi, please read this thread at the end. WPML contacted you on JULY 2019 but they got no answer from you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to translate text added with nimble’ is closed to new replies.