Changing logo image in header.php upon language detection

You’re going to create a new logo for every single language? Can you not make the text in the logo HTML, it doesn’t look like a complex graphic. Also, ignore the first post in this thread but the post by the author and the one below it might be helpful. (I say ignore the first post becuase it sounds like they’re editing the plugin files directly which you should never do!)

The code looks like this:

<div>
    <?php
        $currentlang = get_bloginfo('language');
        if($currentlang=="en-US"):?>
            This is English
        <?php else: ?>
            This is not English
    <?php endif; ?>
</div>

by User ChowKaiDeng

error code: 523