Hi there,
if you’re happy using HTML then you could do something like this:
<div class="language-selector">
<div class="grid-container">
<a href="https://iafrika.org/xh/"><img src="isiXhosa-flag.jpg" alt="isiXhosa language" width="40" height="40">isiXhosa</a>
<a href="https://iafrika.org/tn/"><img src="Setswana-flag.jpg" alt="Setswana language" width="40" height="40">Setswana</a>
</div>
</div>
the <div>
elements are there to provide some containment and a language-selector
class if you want for CSS styling.
In each of then <a>
you have an <img>
tag that you will need to update the image urls and Alt tags for.