<div id="langs"> <a href="[[~[[*id]]]]"><img src="assets/templates/comminform/images/flag-en.png" title="[[++language]]"></a> <a href="[[~[[*id]]]]"><img src="assets/templates/comminform/images/flag-de.png" title="[[++language]]"></a> </div>

<ul class="cf">
[[BabelLinks? &tpl=`BabelLink` &cultureKey=`[[++cultureKey]]`]]
</ul>
You can use BabelLinks snippet to output the correct links
<ul class="cf"> [[BabelLinks? &tpl=`BabelLink` &cultureKey=`[[++cultureKey]]`]] </ul>
And that would just add the cultureKey for the context you're currently in - providing you've set the contexts up properly.