Good morning,
I started to create a new website. This website must be multi-language.
I want to use icons to select the language. So i created a new fiel and added this to the language Template.
But now:
1. Select default Language (here english) alle Icons are shown
2. Select german language i only get the url of the german icon
<ul class="langList DropContent" style="background-color: #<?php echo $themecolor ?>">
<?php
foreach($languages as $language) {
echo '<a hreflang="'.$homepage->getLanguageValue($language, 'name').'" href="'.$page->localHttpUrl($language).'"><li>'.$language->title.'<img src="'.$language->lang_icon->url.'" alt="'.$language->title.'" /></li></a>';
}
?>
</ul>