From 91fe202fbec0d88b3133565f6fa7c892bce030bf Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 19 Mar 2010 09:17:05 +0100 Subject: [PATCH] added a note about i18n being only available in the latest version of Twig --- doc/02-Twig-for-Template-Designers.markdown | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/02-Twig-for-Template-Designers.markdown b/doc/02-Twig-for-Template-Designers.markdown index 69f1710..11207a8 100644 --- a/doc/02-Twig-for-Template-Designers.markdown +++ b/doc/02-Twig-for-Template-Designers.markdown @@ -702,7 +702,7 @@ You can also output a specific variable or an expression: Note that this tag only works when the `debug` option of the environment is set to `true`. -### Internationalization +### Internationalization (new in Twig 0.9.6) When the `i18n` extension is enabled, use the `trans` block to mark parts in the template as translatable: -- 1.7.2.5