@@ -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 :
@@ -1206,7 +1206,7 @@ for the ``fr`` locale:
1206
1206
<body >
1207
1207
<trans-unit id =" 1" >
1208
1208
<source >Symfony is great</source >
1209
- <target >J'aime Symfony</target >
1209
+ <target >Symfony est génial </target >
1210
1210
</trans-unit >
1211
1211
</body >
1212
1212
</file >
@@ -1215,13 +1215,13 @@ for the ``fr`` locale:
1215
1215
.. code-block :: yaml
1216
1216
1217
1217
# translations/messages.fr.yaml
1218
- Symfony is great : J'aime Symfony
1218
+ Symfony is great : Symfony est génial
1219
1219
1220
1220
.. code-block :: php
1221
1221
1222
1222
// translations/messages.fr.php
1223
1223
return [
1224
- 'Symfony is great' => 'J\'aime Symfony',
1224
+ 'Symfony is great' => 'Symfony est génial ',
1225
1225
];
1226
1226
1227
1227
and for the ``en `` locale:
@@ -1264,7 +1264,7 @@ To inspect all messages in the ``fr`` locale for the application, run:
1264
1264
--------- ------------------ ---------------------- -------------------------------
1265
1265
State Id Message Preview (fr) Fallback Message Preview (en)
1266
1266
--------- ------------------ ---------------------- -------------------------------
1267
- unused Symfony is great J'aime Symfony Symfony is great
1267
+ unused Symfony is great Symfony est génial Symfony is great
1268
1268
--------- ------------------ ---------------------- -------------------------------
1269
1269
1270
1270
It shows you a table with the result when translating the message in the ``fr ``
@@ -1284,7 +1284,7 @@ output:
1284
1284
--------- ------------------ ---------------------- -------------------------------
1285
1285
State Id Message Preview (fr) Fallback Message Preview (en)
1286
1286
--------- ------------------ ---------------------- -------------------------------
1287
- Symfony is great J'aime Symfony Symfony is great
1287
+ Symfony is great Symfony est génial Symfony is great
1288
1288
--------- ------------------ ---------------------- -------------------------------
1289
1289
1290
1290
The state is empty which means the message is translated in the ``fr `` locale
0 commit comments