diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index c605a009f9323b0ec0b046ddbd5efd3763682ba3..3113f31490d718f9b85eef109adab505e4703a2f 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -207,7 +207,7 @@ class SimpleSAML_XHTML_Template {
 	 * @param $replacements		 An associative array of keys that should be replaced with values in the translated string.
 	 * @param $striptags		 Should HTML tags be stripped from the translation
 	 */
-	private function t($tag, $fallbacktag = TRUE, $fallbackdefault = true, $replacements = array(), $striptags = false) {
+	public function t($tag, $fallbacktag = TRUE, $fallbackdefault = true, $replacements = array(), $striptags = false) {
 		
 		if (empty($this->langtext) || !is_array($this->langtext)) {
 			SimpleSAML_Logger::error('Template: No language text loaded. Looking up [' . $tag . ']');