From ad34e8f34dca26029b1870d2f2acc233b0794178 Mon Sep 17 00:00:00 2001 From: Hanne Moa <hanne.moa@uninett.no> Date: Tue, 15 Nov 2016 10:45:18 +0100 Subject: [PATCH] Document 'language.i18n.backend' --- config-templates/config.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config-templates/config.php b/config-templates/config.php index 6cf0865e1..ed1a6a770 100644 --- a/config-templates/config.php +++ b/config-templates/config.php @@ -649,9 +649,15 @@ $config = array( 'language.cookie.lifetime' => (60 * 60 * 24 * 900), /* - * Which i18n backend to use + * Which i18n backend to use. + * + * "SimpleSAMLphp" is the home made system, valid for 1.x. + * For 2.x, only "gettext/gettext" will be possible. + * + * Home-made templates will always use "SimpleSAMLphp". + * To use twig (where avaliable), select "gettext/gettext". */ - 'language.i18n.backend' => 'twig.i18n', + 'language.i18n.backend' => 'SimpleSAMLphp', /** * Custom getLanguage function called from SimpleSAML\Locale\Language::getLanguage(). -- GitLab