We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87a54f7 commit df18348Copy full SHA for df18348
book/translation.rst
@@ -708,6 +708,11 @@ The ``transchoice`` tag automatically gets the ``%count%`` variable from
708
the current context and passes it to the translator. This mechanism only
709
works when you use a placeholder following the ``%var%`` pattern.
710
711
+.. tip::
712
+
713
+ If you need to use the percent character (``%``) in a string, escape it by
714
+ doubling it: ``{% trans %}Percent: %percent%%%{% endtrans %}``
715
716
You can also specify the message domain and pass some additional variables:
717
718
.. code-block:: jinja
0 commit comments