I have achieved this by adding
<ul>
<li><a href="/en"+$theme_display.getURLCurrent() title="UK">UK</a></li>
<li><a href="/de"+$theme_display.getURLCurrent() title="Germen">Germen</a></li>
</ul>
in portal_normal.vm file. For localizing footer, I created the Web content with german translation and add it in footer like this
<footer id="footer" role="contentinfo">
#set ($VOID = $velocityPortletPreferences.setValue('portletSetupShowBorders', 'false'))
#set ($portlet_id = '56')
#set ($instance_id = "lw8tVGo0NyCB")
#set ($my_portlet_id = "${portlet_id}_INSTANCE_${instance_id}")
$theme.runtime($my_portlet_id, "", $velocityPortletPreferences.toString())
$velocityPortletPreferences.reset() </footer>