add languages to configuration
update switch language in template