Translate Easy Blogging step 1 step 2 ect..

About Easy Blogging where can traslate the words step 1, step 2 step 3

i can't find that on the .po or .mo file thanks !!!

  • Vinod Dalvi

    Hi @Bernard,

    I hope you are well today and thank you for your question.

    You will find the text "Step %d" in the following Easy Blogging translation file on line number 460

    File:
    easyblogging/languages/wdeb-default.po

    The code:

    #: lib/forms/partials/menu-wizard.php:16
    #, php-format
    msgid "Step %d"
    msgstr ""

    You can translate the "Step" string by translating this plugin as described on the following page.

    https://premium.wpmudev.org/blog/how-to-translate-a-wordpress-plugin/

    You can also use the following plugin to translate it.

    http://wordpress.org/plugins/codestyling-localization/

    Alternatively you can change it by adding the following code in the functions.php file of your child theme.

    function change_translate_text( $translated_text ) {
    	switch ( $translated_text ) {
    		case 'Step 1' :
    			$translated_text = 'New Translation 1';
    			break;
    
    		case 'OStep 2' :
    			$translated_text = 'New Translation 2';
    			break;
    
    		case 'Step 3' :
    			$translated_text = 'New Translation 3';
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );

    Best Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.