Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
c8592e78
Commit
c8592e78
authored
May 31, 2012
by
Florian D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Translation doc: added Twig bridge explanation
parent
87e2872d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
doc/providers/translation.rst
doc/providers/translation.rst
+3
-1
No files found.
doc/providers/translation.rst
View file @
c8592e78
...
...
@@ -179,7 +179,9 @@ templates:
{{ app.translator.trans('translation_key') }}
Moreover, you will be allowed to translate strings in the Twig way:
Moreover, when using the Twig bridge provided by Symfony (see
:doc:`TwigServiceProvider <twig>`), you will be allowed to translate
strings in the Twig way:
.. code-block:: jinja
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment