Skip to content

Commit ec04334

Browse files
committed
Merge branch '4.4'
* 4.4: Use vaild ref for link to the heading Move anchor above correct heading
2 parents 922f6c1 + 69e8cd3 commit ec04334

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

translation.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ to learn even more. Overall, the process has several steps:
4444
for the request and optionally
4545
:doc:`on the user's entire session </session/locale_sticky_session>`.
4646

47-
.. _translation-configuration:
48-
4947
Installation
5048
------------
5149

@@ -55,6 +53,8 @@ First, run this command to install the translator before using it:
5553
5654
$ composer require symfony/translation
5755
56+
.. _translation-configuration:
57+
5858
Configuration
5959
-------------
6060

@@ -168,7 +168,7 @@ For information on where these files should be located, see
168168

169169
Now, if the language of the user's locale is French (e.g. ``fr_FR`` or ``fr_BE``),
170170
the message will be translated into ``J'aime Symfony``. You can also translate
171-
the message inside your `templates <Translations in Templates>`.
171+
the message inside your :ref:`templates <translation-in-templates>`.
172172

173173
The Translation Process
174174
~~~~~~~~~~~~~~~~~~~~~~~
@@ -215,6 +215,8 @@ To manage these situations, Symfony follows the `ICU MessageFormat`_ syntax by
215215
using PHP's :phpclass:`MessageFormatter` class. Read more about this in
216216
:doc:`/translation/message_format`.
217217

218+
.. _translation-in-templates:
219+
218220
Translations in Templates
219221
-------------------------
220222

0 commit comments

Comments
 (0)