diff --git a/modules/consent/dictionaries/consent.php b/modules/consent/dictionaries/consent.php
new file mode 100644
index 0000000000000000000000000000000000000000..40cb75a07425dc038a8cb3da3197dccc6a3eed0a
--- /dev/null
+++ b/modules/consent/dictionaries/consent.php
@@ -0,0 +1,296 @@
+<?php
+
+$lang = array(
+	'yes' => array (
+		'no' => 'Ja, fortsett innlogging',
+		'nn' => 'Ja, eg aksepterer',
+		'da' => 'Ja, jeg accepterer',
+		'en' => 'Yes, I accept',
+		'de' => 'Ja, ich stimmte zu',
+		'sv' => 'Ja',
+		'fi' => 'Kyllä',
+		'es' => 'SĂ­',
+		'fr' => 'Oui',
+		'nl' => 'Ja, ik ga akkoord',
+		'lb' => 'Jo',
+		'sl' => 'Da',
+		'hr' => 'Da, prihvaćam',
+		'hu' => 'Igen, elfogadom',
+		'pt' => 'Sim, Aceito',
+		'pt-BR' => 'Sim, Aceito',
+	),
+	'no' => array (
+		'no' => 'Nei, avbryt innlogging',
+		'nn' => 'Nei, eg aksepterer ikkje',
+		'da' => 'Nej, jeg accepterer ikke',
+		'en' => 'No, I do not accept',
+		'de' => 'Nein, ich stimmte nicht zu',
+		'sv' => 'Nej',
+		'fi' => 'ei',
+		'es' => 'No',
+		'fr' => 'Non',
+		'nl' => 'Nee, ik weiger',
+		'lb' => 'Nee',
+		'sl' => 'Ne',
+		'hr' => 'Ne privaćam',
+		'hu' => 'Nem, nem fogadom el',
+		'pt' => 'NĂŁo aceito',
+		'pt-BR' => 'NĂŁo, nĂŁo aceito',
+	),
+	'remember' => array (
+		'no' => 'Godta ogsĂĄ for fremtiden',
+		'nn' => 'Hugs samtykke',
+		'da' => 'Husk samtykke',
+		'en' => 'Remember consent',
+		'de' => 'Zustimmung merken',
+		'sv' => 'Spara samtycke',
+		'fi' => 'Muista',
+		'es' => 'Recordar el consentimiento',
+		'fr' => 'Se souvenir du consentement',
+		'nl' => 'Bewaar toestemming',
+		'lb' => 'Zoustëmmung verhalen',
+		'sl' => 'Zapomni si privolitev.',
+		'hr' => 'Zapamti dozvole',
+		'hu' => 'Emlékezzen a hozzájárulásra',
+		'pt' => 'Lembrar a minha escolha',
+		'pt-BR' => 'Lembrar Consentimento',
+	),
+	'consent_header' => array (
+		'no' => 'Samtykke til overføring av personinformasjon',
+		'nn' => 'Samtykke til overføring av personinformasjon',
+		'da' => 'Samtykke til at frigive personlige oplysninger',
+		'en' => 'Consent about releasing personal information',
+		'sv' => 'Samtycke gällande överföring av personinformation',
+		'es' => 'Consentimiento para la liberaciĂłn de informaciĂłn personal',
+		'sl' => 'Odločitev o privolitvi posredovanja vaših osebnih podatkov',
+		'hr' => 'Dozvola za isporuku osobnih podataka',
+	),
+	'consent_notice' => array (
+		'no' => 'Du er nĂĄ i ferd med ĂĄ logge inn pĂĄ tjenesten SPNAME.',
+		'nn' => 'Du er i ferd med ĂĄ logga inn pĂĄ tenesta SPNAME.',
+		'da' => 'Du er ved at logge ind pĂĄ tjenesten SPNAME. ',
+		'en' => 'You are about to login to the service SPNAME. ',
+		'de' => 'Sie sind dabei sich bei SPNAME anzumelden.',
+		'sv' => 'Du är på väg att logga in i tjänsten',
+		'fi' => 'Olet kirjautumassa palveluun',
+		'es' => 'Está a punto de acceder al servicio',
+		'fr' => 'Vous ĂŞtes sur le point de vous connecter au service',
+		'nl' => 'U gaat inloggen bij een dienst',
+		'lb' => 'Daer sid dobai aerch um service unzemellen',
+		'sl' => 'Pravkar se nameravate prijaviti v storitev',
+		'hr' => 'U tijeku je proces prijave za pristup servisu',
+		'hu' => 'Ön azonosítja magát ehhez a szolgáltatáshoz',
+		'pt' => 'Está prestes a efectuar a entrada no serviço',
+		'pt-BR' => 'Você está prestes a acessar o serviço',
+	),
+	'consent_purpose' => array (
+		'no' => 'FormĂĄlet med SPNAME er SPDESC',
+		'nn' => 'Hensikta med SPNAME er SPDESC',
+		'da' => 'SPNAME har til formĂĄl at SPDESC',
+		'en' => 'The purpose of SPNAME is SPDESC',
+		'de' => 'Der Zweck von SPNAME ist SPDESC',
+		'sv' => 'Syftet med SPNAME är SPDESC',
+		'es' => 'El propĂłsito de SPNAME es SPDESC',
+		'hr' => 'Svrha SPNAME je SPDESC',
+	),
+	'consent_accept' => array (
+		'no' => 'For å fullføre innloggingen må du godta at opplysningene nedenfor sendes til SPNAME.',
+		'nn' => 'SPNAME krevjer at informasjonen nedanfor blir overført fra IDPNAME. Gjev du samtykke til slik overføring?',
+		'da' => 'SPNAME kræver at nedenstående oplysninger overføres fra IDPNAME. Vil du acceptere dette?',
+		'en' => 'SPNAME requires that the information below is transferred from IDPNAME. Do you accept this?',
+		'de' => 'SPNAME erfordert die Ăśbertragung untenstehender Information von IDPNAME. Akzeptieren Sie das?',
+		'sv' => 'Du är på väg att logga in i tjänsten SPNAME. Tjänsten kräver att informationen nedan skickas från IDPNAME. Är detta okej?',
+		'fi' => 'Olet kirjautumassa palveluun SPNAME. Kirjautuessasi Identity Provider haluaa lähettää attribuutteja joissa on henkilötietoja palvelun tarjoajalle. Hyväksytkö tämän?',
+		'es' => 'Está a punto de acceder al servicio SPNAME. El servicio requiere que la información que se muestra a continuación sea transferida desde IDPNAME. ¿Acepta esto?  ',
+		'fr' => 'Vous êtes sur le point de vous connecter au service SPNAME. Lors de l\'ouverture de session, le fournisseur d\'identité enverra des informations sur votre identité à ce service. Acceptez-vous cela ?',
+		'nl' => 'U gaat inloggen bij een dienst SPNAME. Tijdens het login proces stuurt de identity provider zgn. attributen met daarin informatie over uw identiteit voor deze dienst. Bent u het daarmee eens?',
+		'lb' => 'Daer sid dobai aerch um service unzemellen SPNAME. Waerend dem Login Prozess schéckt den Identity Provider Attributer, déi Informatiounen iwert aer Identitéit enthaalen. Akzeptéier daer daat?',
+		'sl' => 'Pravkar se nameravate prijaviti v storitev SPNAME. Med postopkom prijave bo IdP posredoval atribute, ki vsebujejo informacije o vaši identiteti, tej storitvi. Ali se s tem strinjate? ',
+		'hr' => 'U tijeku je proces prijave za pristup servisu SPNAME. Servis zahtjeva da IDPNAME isporuÄŤi dolje navedene podatke. SlaĹľete li se s time?',
+		'hu' => 'Ön azonosítja magát ehhez a szolgáltatáshoz SPNAME. Az azonosítás során IDPNAME az alábbi adatokat fogja küldeni a szolgáltatásnak. Engedélyezi?',
+		'pt' => 'Está prestes a efectuar a entrada no serviço SPNAME. Este serviço é descrito como SPDESC e necessita que a informação apresentada abaixo seja transferida do IDPNAME. Aceita esta transferência de informação?',
+		'pt-BR' => 'Você está prestes a acessar o serviço SPNAME. O serviço exige que as informações a seguir sejam transferidas do IDPNAME. Você aceita isso?',
+	),
+	'consent_privacypolicy' => array (
+		'no' => 'Personvern for tjenesten',
+		'nn' => 'Personvernpolicy for tenesta',
+		'da' => 'Tjenestens politik vedrørende personoplysninger',
+		'en' => 'Privacypolicy for the service',
+		'de' => 'Datenschutzrichtlinie des Dienstes',
+		'sv' => 'Tjänstens policy för personlig integritet',
+		'fi' => 'Tietosuojaseloste palvelulle',
+		'es' => 'PolĂ­tica de privacidad para el servicio',
+		'nl' => 'Privacy policy voor de dienst',
+		'sl' => 'Politika zasebnosti za ta SP',
+		'hr' => 'Politika zaštite privatnosti',
+		'hu' => 'A szolgáltatás adatvádelmi nyilatkozata',
+		'pt' => 'Política de privacidade do serviço',
+		'pt-BR' => 'Política de Privacidade deste serviço',
+	),
+	'consent_attributes_header' => array (
+		'no' => 'Opplysninger som vil bli sendt til SPNAME',
+		'da' => 'Attributter som bliver sendt til tjenesten',
+		'en' => 'Attributes that will be sent to service',
+		'sv' => 'Attribut som kommer att skickas till tjänsten',
+		'es' => 'Atributos que serán enviados al servicio',
+		'sl' => 'Atributi, ki bodo poslani SPju',
+		'hr' => 'Atributi koji će biti poslani servisu',
+	),
+	'show_attributes' => array (
+		'no' => 'Vis attributter',
+		'da' => 'Vis attributter',
+		'en' => 'Show attributes',
+		'sv' => 'Visa attribut',
+		'es' => 'Mostrar atributos',
+		'sl' => 'PrikaĹľi atribute',
+		'hr' => 'PrikaĹľi atribute',
+	),
+	'login' => array (
+		'no' => 'innlogging',
+		'nn' => 'Logg inn',
+		'da' => 'login',
+		'en' => 'login',
+		'de' => 'anmelden',
+		'sv' => 'Logga in',
+		'fi' => 'Tunnus',
+		'es' => 'login',
+		'fr' => 'ouvrir une session',
+		'nl' => 'Login',
+		'lb' => 'anloggen',
+		'sl' => 'Prijava',
+		'hr' => 'prijava',
+		'hu' => 'bejelentkezés',
+		'pt' => 'Entrar',
+		'pt-BR' => 'login',
+	),
+	'service_providers_for' => array (
+		'no' => 'Tjenesteleverandør for',
+		'nn' => 'Tenesteleverandørar for',
+		'da' => 'Tjenesteudbyder for',
+		'en' => 'Service Providers for',
+		'de' => 'Service-Provider fĂĽr',
+		'sv' => 'Tjänsteleverantörer för',
+		'fi' => 'Palveluntarjoaja',
+		'es' => 'Proveedores de servicio para',
+		'fr' => 'Fournisseurs de services pour',
+		'nl' => 'Service Providers voor',
+		'lb' => 'Service Provider fir',
+		'sl' => 'SP za',
+		'hr' => 'Davatelji usluge za',
+		'hu' => 'Alkalmazásszolgáltatók a következő számára',
+		'pt' => 'fornecedores de serviço (SP) para',
+		'pt-BR' => 'Provedor de serviços para',
+	),
+	'service_provider_header' => array (
+		'no' => 'Tjenesteleverandør',
+		'nn' => 'Tenesteleverandør',
+		'da' => 'Tjenesteudbyder',
+		'en' => 'Service Provider',
+		'de' => 'Service-Provider',
+		'sv' => 'Tjänsteleverantör',
+		'fi' => 'Palveluntarjoaja',
+		'es' => 'Proveedor de servicio',
+		'fr' => 'Fournisseur de service',
+		'nl' => 'Service Provider',
+		'lb' => 'Service Provider',
+		'sl' => 'SP',
+		'hr' => 'Davatelj usluge',
+		'hu' => 'Alkalmazásszolgáltató',
+		'pt' => 'fornecedor de serviço (SP)',
+		'pt-BR' => 'Provedor de Serviços',
+	),
+	'status_header' => array (
+		'no' => 'Samtykke-status',
+		'nn' => 'Samtykkestatus',
+		'da' => 'Samtykke status',
+		'en' => 'Consent status',
+		'de' => 'Zustimmungsstatus',
+		'sv' => 'Status för samtycke',
+		'fi' => 'Hyväksynnään tila',
+		'es' => 'Estado del consentimiento',
+		'fr' => 'État des consentements',
+		'nl' => 'Toestemming status',
+		'lb' => 'Zoustëmmungsstatus',
+		'sl' => 'Stanje privolitve',
+		'hr' => 'Status dozvole',
+		'hu' => 'Hozzájárulás állapota',
+		'pt' => 'Consentimento',
+		'pt-BR' => 'Status do Consentimento',
+	),
+	'show_hide_attributes' => array (
+		'no' => 'Vis/skjul attributter',
+		'nn' => 'vis/skjul attributtar',
+		'da' => 'vis/skjul attributter',
+		'en' => 'show/hide attributes',
+		'de' => 'zeige/verstecke Eigenschaften',
+		'sv' => 'visa/göm attribut',
+		'fi' => 'Näytä/piilota attribuutteja',
+		'es' => 'Mostrar/ocultar atributos',
+		'fr' => 'montrer/cacher les attributs',
+		'nl' => 'toon/verberg attributen',
+		'lb' => 'Attributer weisen/verstoppen',
+		'sl' => 'prikaĹľi/skrij atribute',
+		'hr' => 'prikaĹľi/sakrij atribute',
+		'hu' => 'attribútumok mutatása/elrejtése',
+		'pt' => 'Mostrar/Ocultar atributos',
+		'pt-BR' => 'mostra/esconder Atributos',
+	),
+	'noconsent_title' => array (
+		'no' => 'Ingen samtykke gitt',
+		'nn' => 'Utan samtykke',
+		'da' => 'Manglende samtykke',
+		'en' => 'No consent given',
+		'de' => 'Zustimmung verweigert',
+		'sv' => 'Inget samtycket givet',
+		'es' => 'No se diĂł el consentimiento',
+		'nl' => 'Geen toestemming gegeven',
+		'sl' => 'Privolitev ni bila dana.',
+		'hr' => 'Nema pristanka',
+		'hu' => 'Nincs hozzájárulás',
+		'pt' => 'Consentimento negado',
+		'pt-BR' => 'Nenhum consentimento dado',
+	),
+	'noconsent_text' => array (
+		'no' => 'Du har ikke gitt samtykke til å overlevere attributter til tjenesteleverandøren.',
+		'nn' => 'Du har ikkje gitt samtykke til at dine opplysingar (attibuttar) kan overførast til tenesteleverandøren',
+		'da' => 'Du har ikke givet samtykke til overleveringen af oplysninger til tjenesten',
+		'en' => 'You did not give consent for transfering your attributes to the service provider.',
+		'de' => 'Sie haben der Weitergabe ihrer Daten an den Service Provider nicht zugestimmt.',
+		'sv' => 'Du gav inte samtycke för att överföra dina attribut till tjänsteleverantören.',
+		'es' => 'No ha dado su consentimiento para tranferir sus atributos al proveedor de servicio.',
+		'nl' => 'U heeft geen toestemming gegeven om uw attributen naar de Service Provider te versturen',
+		'sl' => 'Niste podali privolitve za posredovanje atributov SP-ju.',
+		'hr' => 'Niste dali pristanak da se vaši podaci isporuče davatelju usluge.',
+		'hu' => 'Nem adta hozzájárulását, hogy adatait továbbadjuk a szolgáltatónak.',
+		'pt' => 'Negou o consentimento para a transferência dos seus atributos para o fornecedor de serviço.',
+		'pt-BR' => 'Você não deu o consentimento para a transferência de seus atributos para o provedor de serviços.',
+	),
+	'noconsent_return' => array (
+		'no' => 'GĂĄ tilbake til siden for samtykke',
+		'nn' => 'GĂĄ tilbake til samtykkesida',
+		'da' => 'GĂĄ tilbage',
+		'en' => 'Return to consent page',
+		'de' => 'ZurĂĽck',
+		'sv' => 'Åter till sidan för samtycke',
+		'es' => 'Volver a la página de consentimiento',
+		'nl' => 'Keer terug naar de toestemmings pagina',
+		'sl' => 'Vrnitev na privolitveno stran',
+		'hr' => 'Povratak na stranicu s dozvolama',
+		'hu' => 'Vissza az hozzájárulás-kezelő oldalra',
+		'pt' => 'Voltar à página de consentimento',
+		'pt-BR' => 'Retornar a página de consentimento',
+	),
+	'noconsent_goto_about' => array (
+		'no' => 'GĂĄ til informasjonsside om tjenesten',
+		'da' => 'GĂĄ til side med information om tjenesten',
+		'en' => 'Go to information page for the service',
+		'sv' => 'Gå till tjänstens informationssida',
+		'es' => 'Ir a la página de información del servicio',
+		'sl' => 'Pojdi na spletno stran z informacijami o storitvi',
+		'hr' => 'Idi na stranicu s informacijama o servisu',
+	),
+
+);
+
+
+?>
\ No newline at end of file
diff --git a/modules/consent/templates/consentform.php b/modules/consent/templates/consentform.php
index 5c3f3ae2178148ea4cd6852d733923e256ca33ee..89e9a4246e908684ec73652bf78c5c13e46466ab 100644
--- a/modules/consent/templates/consentform.php
+++ b/modules/consent/templates/consentform.php
@@ -50,35 +50,9 @@ if (array_key_exists('name', $this->data['dstMetadata'])) {
 $attributes = $this->data['attributes'];
 
 
-$this->data['header'] = $this->t('{consent:consent_header}');
+$this->data['header'] = $this->t('{consent:consent:consent_header}');
 $this->data['head']  = '<link rel="stylesheet" type="text/css" href="/' . $this->data['baseurlpath'] . 'module.php/consent/style.css" />' . "\n";
-$this->data['head'] .= '<script type="text/javascript" src="/' . $this->data['baseurlpath'] . 'resources/jquery.js"></script>
 
-	<script type="text/javascript">
-
-$(document).ready(function() {
-
-	$("table[id=table_with_attributes]").hide();
-
-	$("legend[@id=attribute_switch]").
-		click(function(event){
-			$("table[id=table_with_attributes]").toggle();
-			$("div[@id=addattributes]").toggle();
-		});
-
-	$("a[@id=addattributesb]").
-		click(function(event){
-			event.preventDefault();
-			$("table[id=table_with_attributes]").show();
-			$("div[@id=addattributes]").hide("fast");
-		});
-
-});
-
-	</script>
-
-
-';
 
 
 $this->includeAtTemplateBase('includes/header.php');
@@ -87,9 +61,10 @@ $this->includeAtTemplateBase('includes/header.php');
 
 <p>
 <?php
-	echo $this->t('{consent:consent_notice}', array( 'SPNAME' => $dstName ));
+	echo $this->t('{consent:consent:consent_accept}', array( 'SPNAME' => $dstName, 'IDPNAME' => $srcName ));
+	#echo $this->t('{consent:consent:consent_notice}', array( 'SPNAME' => $dstName ));
 	if (array_key_exists('descr_purpose', $this->data['dstMetadata'])) {
-		echo '</p><p>' . $this->t('{consent:consent_purpose}', array(
+		echo '</p><p>' . $this->t('{consent:consent:consent_purpose}', array(
 			'SPNAME' => $dstName,
 			'SPDESC' => $this->getTranslation(SimpleSAML_Utilities::arrayize($this->data['dstMetadata']['descr_purpose'], 'en')),
 		));
@@ -99,10 +74,19 @@ $this->includeAtTemplateBase('includes/header.php');
 
 <p>
 <?php
-  echo $this->t('{consent:consent_accept}', array( 'SPNAME' => $dstName, 'IDPNAME' => $srcName ));
+  
 ?>
 </p>
 
+<?php
+	if ($this->data['usestorage']) {
+		$checked = ($this->data['checked'] ? 'checked="checked"' : '');
+		echo('<input type="checkbox" name="saveconsent" ' . $checked . ' value="1" /> ' . $this->t('{consent:consent:remember}') . '');
+	}
+?>
+
+
+
 	<p style="margin: 1em">
 <form style="display: inline; margin: 0px; padding: 0px" action="<?php echo htmlspecialchars($this->data['yesTarget']); ?>">
 <?php
@@ -112,14 +96,8 @@ $this->includeAtTemplateBase('includes/header.php');
 	}
 ?>
 
-		<input type="submit" name="yes" id="yesbutton" value="<?php echo htmlspecialchars($this->t('{consent:yes}')) ?>" />
+		<input type="submit" name="yes" id="yesbutton" value="<?php echo htmlspecialchars($this->t('{consent:consent:yes}')) ?>" />
 
-<?php
-	if ($this->data['usestorage']) {
-		$checked = ($this->data['checked'] ? 'checked="checked"' : '');
-		echo('<input type="checkbox" name="saveconsent" ' . $checked . ' value="1" /> ' . $this->t('{consent:remember}') . '');
-	}
-?>
 
 
 
@@ -131,13 +109,13 @@ foreach ($this->data['noData'] as $name => $value) {
         echo('<input type="hidden" name="' . htmlspecialchars($name) . '" value="' . htmlspecialchars($value) . '" />');
 }
 ?>
-	<input type="submit" style="display: inline" name="no" id="nobutton" value="<?php echo htmlspecialchars($this->t('{consent:no}')) ?>" />
+	<input type="submit" style="display: inline" name="no" id="nobutton" value="<?php echo htmlspecialchars($this->t('{consent:consent:no}')) ?>" />
 
 </form>
 
 <?php
 if ($this->data['sppp'] !== FALSE) {
-	echo "<p>" . htmlspecialchars($this->t('{consent:consent_privacypolicy}')) . " ";
+	echo "<p>" . htmlspecialchars($this->t('{consent:consent:consent_privacypolicy}')) . " ";
 	echo "<a target='_new_window' href='" . htmlspecialchars($this->data['sppp']) . "'>" . htmlspecialchars($dstName) . "</a>";
 	echo "</p>";
 }
@@ -230,10 +208,15 @@ foreach ($this->data['noData'] as $name => $value) {
 	-->
 
 	<fieldset class="fancyfieldset">
-		<legend id="attribute_switch"> » <?php echo $this->t('{consent:consent_attributes_header}'); ?></legend>
-	
-	<div id="addattributes"><a id="addattributesb" class="link"><?php echo $this->t('{consent:show_attributes}'); ?></a></div>
+		<legend id="attribute_switch"><?php 
+			echo $this->t('{consent:consent:consent_attributes_header}',array( 'SPNAME' => $dstName, 'IDPNAME' => $srcName )); 
+		?></legend>
 	
+	<!-- 
+	<div id="addattributes">
+		<a id="addattributesb" class="link"><?php echo $this->t('{consent:consent:show_attributes}'); ?></a>
+	</div>
+	-->
 	<?php
 	
 		echo(present_attributes($this, $attributes, ''));
diff --git a/modules/consent/templates/noconsent.php b/modules/consent/templates/noconsent.php
index 3cfd349b373b658db7233dbaf864bbfd991bb01d..d115b0db2f94ded506559220835a861b05c9991e 100644
--- a/modules/consent/templates/noconsent.php
+++ b/modules/consent/templates/noconsent.php
@@ -1,22 +1,22 @@
 <?php
-	$this->data['header'] = $this->t('{consent:noconsent_title}');;
+	$this->data['header'] = $this->t('{consent:consent:noconsent_title}');;
 	$this->data['icon'] = 'bomb_l.png';
 	$this->includeAtTemplateBase('includes/header.php');
 ?>
 
 
 	<h2><?php echo($this->data['header']); ?></h2>
-	<p><?php echo($this->t('{consent:noconsent_text}')); ?></p>
+	<p><?php echo($this->t('{consent:consent:noconsent_text}')); ?></p>
 
 <?php
 	if($this->data['resumeFrom']) {
 		echo('<p><a href="' . htmlspecialchars($this->data['resumeFrom']) . '">');
-		echo($this->t('{consent:noconsent_return}'));
+		echo($this->t('{consent:consent:noconsent_return}'));
 		echo('</a></p>');
 	}
 		if($this->data['aboutService']) {
 		echo('<p><a href="' . htmlspecialchars($this->data['aboutService']) . '">');
-		echo($this->t('{consent:noconsent_goto_about}'));
+		echo($this->t('{consent:consent:noconsent_goto_about}'));
 		echo('</a></p>');
 	}
 ?>