capitalize languages in templates