Skip to content

Commit 69e8cd3

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Use vaild ref for link to the heading Move anchor above correct heading
2 parents 83baae9 + 6b0de3a commit 69e8cd3

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
~~~~~~~~~~~~~~~~~~~~~~~
@@ -221,6 +221,8 @@ using PHP's :phpclass:`MessageFormatter` class. Read more about this in
221221
pluralization was managed by the
222222
:method:`Symfony\\Component\\Translation\\Translator::transChoice` method.
223223

224+
.. _translation-in-templates:
225+
224226
Translations in Templates
225227
-------------------------
226228

0 commit comments

Comments
 (0)