Display different image (logo) for each language?

In my website, i have two languages: Dutch an French. I need to display a different logo for each of the two languages in my navbar.php. Do i need to use custom language variables for this or is there a way to use an if/else statement for the languages?

You can use an if statement that checks the site language

<?php if($site->language()->code() == 'nl'): ?>
  <?php //use this logo ?>
<?php else: ?>
  <?php // use another logo ?>
<?php endif ?>