@@ -145,7 +145,7 @@ different formats:
145145 .. code-block :: yaml
146146
147147 # translations/messages.fr.yaml
148- Symfony is great : J'aime Symfony
148+ Symfony is great : Symfony est génial
149149
150150 .. code-block :: xml
151151
@@ -156,7 +156,7 @@ different formats:
156156 <body >
157157 <trans-unit id =" symfony_is_great" >
158158 <source >Symfony is great</source >
159- <target >J'aime Symfony</target >
159+ <target >Symfony est génial </target >
160160 </trans-unit >
161161 </body >
162162 </file >
@@ -166,14 +166,14 @@ different formats:
166166
167167 // translations/messages.fr.php
168168 return [
169- 'Symfony is great' => "J'aime Symfony" ,
169+ 'Symfony is great' => ' Symfony est génial' ,
170170 ];
171171
172172 You can find more information on where these files
173173:ref: `should be located <translation-resource-locations >`.
174174
175175Now, if the language of the user's locale is French (e.g. ``fr_FR `` or ``fr_BE ``),
176- the message will be translated into ``J'aime Symfony ``. You can also translate
176+ the message will be translated into ``Symfony est génial ``. You can also translate
177177the message inside your :ref: `templates <translation-in-templates >`.
178178
179179.. _translation-real-vs-keyword-messages :
@@ -1206,7 +1206,7 @@ for the ``fr`` locale:
12061206 <body >
12071207 <trans-unit id =" 1" >
12081208 <source >Symfony is great</source >
1209- <target >J'aime Symfony</target >
1209+ <target >Symfony est génial </target >
12101210 </trans-unit >
12111211 </body >
12121212 </file >
@@ -1215,13 +1215,13 @@ for the ``fr`` locale:
12151215 .. code-block :: yaml
12161216
12171217 # translations/messages.fr.yaml
1218- Symfony is great : J'aime Symfony
1218+ Symfony is great : Symfony est génial
12191219
12201220 .. code-block :: php
12211221
12221222 // translations/messages.fr.php
12231223 return [
1224- 'Symfony is great' => 'J\'aime Symfony',
1224+ 'Symfony is great' => 'Symfony est génial ',
12251225 ];
12261226
12271227 and for the ``en `` locale:
@@ -1264,7 +1264,7 @@ To inspect all messages in the ``fr`` locale for the application, run:
12641264 --------- ------------------ ---------------------- -------------------------------
12651265 State Id Message Preview (fr) Fallback Message Preview (en)
12661266 --------- ------------------ ---------------------- -------------------------------
1267- unused Symfony is great J'aime Symfony Symfony is great
1267+ unused Symfony is great Symfony est génial Symfony is great
12681268 --------- ------------------ ---------------------- -------------------------------
12691269
12701270 It shows you a table with the result when translating the message in the ``fr ``
@@ -1284,7 +1284,7 @@ output:
12841284 --------- ------------------ ---------------------- -------------------------------
12851285 State Id Message Preview (fr) Fallback Message Preview (en)
12861286 --------- ------------------ ---------------------- -------------------------------
1287- Symfony is great J'aime Symfony Symfony is great
1287+ Symfony is great Symfony est génial Symfony is great
12881288 --------- ------------------ ---------------------- -------------------------------
12891289
12901290 The state is empty which means the message is translated in the ``fr `` locale
0 commit comments