@@ -145,7 +145,7 @@ different formats:
145
145
.. code-block :: yaml
146
146
147
147
# translations/messages.fr.yaml
148
- Symfony is great : J'aime Symfony
148
+ Symfony is great : Symfony est génial
149
149
150
150
.. code-block :: xml
151
151
@@ -156,7 +156,7 @@ different formats:
156
156
<body >
157
157
<trans-unit id =" symfony_is_great" >
158
158
<source >Symfony is great</source >
159
- <target >J'aime Symfony</target >
159
+ <target >Symfony est génial </target >
160
160
</trans-unit >
161
161
</body >
162
162
</file >
@@ -166,14 +166,14 @@ different formats:
166
166
167
167
// translations/messages.fr.php
168
168
return [
169
- 'Symfony is great' => "J'aime Symfony" ,
169
+ 'Symfony is great' => ' Symfony est génial' ,
170
170
];
171
171
172
172
You can find more information on where these files
173
173
:ref: `should be located <translation-resource-locations >`.
174
174
175
175
Now, 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
177
177
the message inside your :ref: `templates <translation-in-templates >`.
178
178
179
179
.. _translation-real-vs-keyword-messages :
@@ -1219,7 +1219,7 @@ for the ``fr`` locale:
1219
1219
<body >
1220
1220
<trans-unit id =" 1" >
1221
1221
<source >Symfony is great</source >
1222
- <target >J'aime Symfony</target >
1222
+ <target >Symfony est génial </target >
1223
1223
</trans-unit >
1224
1224
</body >
1225
1225
</file >
@@ -1228,13 +1228,13 @@ for the ``fr`` locale:
1228
1228
.. code-block :: yaml
1229
1229
1230
1230
# translations/messages.fr.yaml
1231
- Symfony is great : J'aime Symfony
1231
+ Symfony is great : Symfony est génial
1232
1232
1233
1233
.. code-block :: php
1234
1234
1235
1235
// translations/messages.fr.php
1236
1236
return [
1237
- 'Symfony is great' => 'J\'aime Symfony',
1237
+ 'Symfony is great' => 'Symfony est génial ',
1238
1238
];
1239
1239
1240
1240
and for the ``en `` locale:
@@ -1277,7 +1277,7 @@ To inspect all messages in the ``fr`` locale for the application, run:
1277
1277
--------- ------------------ ---------------------- -------------------------------
1278
1278
State Id Message Preview (fr) Fallback Message Preview (en)
1279
1279
--------- ------------------ ---------------------- -------------------------------
1280
- unused Symfony is great J'aime Symfony Symfony is great
1280
+ unused Symfony is great Symfony est génial Symfony is great
1281
1281
--------- ------------------ ---------------------- -------------------------------
1282
1282
1283
1283
It shows you a table with the result when translating the message in the ``fr ``
@@ -1297,7 +1297,7 @@ output:
1297
1297
--------- ------------------ ---------------------- -------------------------------
1298
1298
State Id Message Preview (fr) Fallback Message Preview (en)
1299
1299
--------- ------------------ ---------------------- -------------------------------
1300
- Symfony is great J'aime Symfony Symfony is great
1300
+ Symfony is great Symfony est génial Symfony is great
1301
1301
--------- ------------------ ---------------------- -------------------------------
1302
1302
1303
1303
The state is empty which means the message is translated in the ``fr `` locale
0 commit comments