added a note about i18n being only available in the latest version of Twig

This commit is contained in:
Fabien Potencier
2010-03-19 09:17:05 +01:00
parent 1a3fe13098
commit 91fe202fbe
+1 -1
View File
@@ -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: