• Resolved hbbd

    (@hbbd)


    Hi,

    Is Sprout Invoices compatible with WPML? I need to run a bilingual website (which is different than translating the original language to a different language).

    Thank you,

Viewing 1 replies (of 1 total)
  • Plugin Contributor Elana Davis

    (@elanasparkle)

    Hello @hbbd,

    ?Thank you for reaching out to support! Many of our customers use WPML and it will translate and if there are any issues with anything that doesn’t translate you can use the below hook.

    function weforms_change_strings( $translations, $text, $domain ) {
    	if ( 'Sprout-invoices' === $domain ) {
    		if ( 'TEXT_TO_CHANGE' === $text ) {
    			return 'TEXT_TO_CHANGE_IT_TOO';
    		}
        
    	}
    	return $translations;
    }
    add_filter( 'gettext', 'si_change_strings', 10, 3 );

    Thanks
    Elana D.

    • This reply was modified 2 years, 11 months ago by Elana Davis.
Viewing 1 replies (of 1 total)
  • The topic ‘WPML Compatibility’ is closed to new replies.