(German) Translation not working in wp-content -> Languages -> Plugins folder

Hey there,

just wanted to let you know that the .mo file isn't recognized by affiliate plugin if its in the wp-admin -> languages -> plugins folder.

If i copy it to plugins language folder it is working properly.

Best wishes,

  • Vaughan
    • Support/SLS MockingJay

    Hi David,

    Hope you're well?

    Yes, you are correct and I can see in the code why this is.

    function load_textdomain() {
    		$locale = apply_filters( 'affiliate_locale', get_locale() );
    		$mofile = affiliate_dir( "affiliateincludes/languages/affiliate-$locale.mo" );
    		if ( file_exists( $mofile ) )
    			load_textdomain( 'affiliate', $mofile );

    I will add this to the feature requests for the developer to include in the next update all being well. Thanks for bringing this to our attention.

    Hope this helps

  • MapSteps
    • Site Builder, Child of Zeus

    Hey Vaughan,

    thanks for your quick response!

    I'll give it a try. I have also recognized, that some parts are not able to translate. I have translated all the content you can see to german. Some sentences aren't translated properly.

    I'll take a look at the core files :slight_smile: Maybe you could add this to the feature reqeustes also :slight_smile:


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.